Thanks David that works a treat. Is it possible to combine the tunnel set up and server start up in the server configuration?
I tried: ssh -nNTR 2223:localhost:11111 me@pvserver-host ".bin/pvserver --server-port=2223 -rc" but to no effect. Kit On Tue, Mar 5, 2013 at 12:04 PM, David E DeMarle <[email protected]>wrote: > > You are just missing that you need to use a reverse connection to make the > server attempt to connect through the tunnel back to the listening client, > as opposed to the normal connection mode where the client connects to the > listening server. > > In your setup the ssh tunnel is listening on the server side on port 2223 > first, then the pvserver also tries to listen on 2223 and it can't because > it is in use. Using a reverse connection the server will instead send data > to the port which is fine. > > > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > > On Tue, Mar 5, 2013 at 6:39 AM, Kit Chambers <[email protected]>wrote: > >> Hi, >> >> I am trying to run a pvserver which is connected to using a client behind >> a firewall. The firewall blocks everything except ssh going out. Hence I am >> trying to use pvserver through an ssh tunnel. >> >> My plan was as follows: >> >> On client (inside firewall): >> 1 - Start paraview >> 2 - Create ssh tunell for port 11111 >> % ssh -nNTR 2223:localhost:11111 me@pvserver-hostname >> >> Then on pvserver-hostname start the pvserver, however I get the following >> >> % ./bin/pvserver --server-port=2223 >> Waiting for client >> Connection URL: cs://localhost:2223 >> ERROR: In >> /home/rock/kit/PIG/Technical/software/pv_v1.0.0-release/ParaView-3.11.1/VTK/Common/vtkSocket.cxx, >> line 206 >> vtkServerSocket (0x1d067ae0): Socket error in call to bind. Address >> already in use. >> >> ERROR: In >> /home/rock/kit/PIG/Technical/software/pv_v1.0.0-release/ParaView-3.11.1/ParaViewCore/ClientServerCore/vtkTCPNetworkAccessManager.cxx, >> line 284 >> vtkTCPNetworkAccessManager (0x1cb4aea0): Failed to set up server socket. >> >> This procedure work fines for other services. For example: >> % ssh -nNTR 2223:localhost:22 me@pvserver-hostname >> >> Allows me to ssh back to my machine from pvserver-hostname (using port >> 2223). >> >> What's so special about pvserver? Am I missing something really basic? >> >> Any help or suggestions would be greatly appreciated. >> >> Kit >> >> >> >> >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://www.paraview.org/mailman/listinfo/paraview >> >> >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
