Tunneling won't work for vnc

Red Squirrel

No Lifer
May 24, 2003
70,166
13,572
126
www.anyf.ca
I setup a ssh server that is accessable to the outside world, it has a VNC server which works great locally. When I tunnel it from external, it wont work. It connects, but says "the server closed the connection unexpectedly. do you wish to reconnect?". If I tunnel locally it works ok but not from outside world.
 

Red Squirrel

No Lifer
May 24, 2003
70,166
13,572
126
www.anyf.ca
Got it working. Has to be localhost, and not the local IP that server, when specifying tunnel destination. Think it would come up to same thing though.