Just to make sure... but is the computer your trying to access in the same network? like is it connected to the same router as you?
On 22 Dec, 16:53, Daniel Eggleston <[email protected]> wrote: > Usually when setting up a vnc session over ssh, I wind up using "vncviewer > localhost" instead of "192.168.1.19" or something. Can you tell us how > you're setting up ssh? > > On Tue, Dec 22, 2009 at 8:11 AM, Jeremiah Bess <[email protected]>wrote: > > > > > Connection refused usually means that the destination router/firewall is > > not allowing port 5900 through. It could also mean your destination computer > > is running a firewall that is not allowing 5900. > > > Jeremiah E. Bess > > Network Ninja, Penguin Geek, Father of four > > > On Tue, Dec 22, 2009 at 07:09, Velocity <[email protected]> wrote: > > >> I am getting following error while trying to establish a vnc session > >> over ssh what should I do or look in for. > > >> t...@-laptop:~$ vncviewer 192.168.1.19 > >> 192.168.1.19 5900 > >> java.net.ConnectException: Connection refused > >> at java.net.PlainSocketImpl.socketConnect(Native Method) > >> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) > >> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) > >> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) > >> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) > >> at java.net.Socket.connect(Socket.java:525) > >> at java.net.Socket.connect(Socket.java:475) > >> at java.net.Socket.<init>(Socket.java:372) > >> at java.net.Socket.<init>(Socket.java:186) > >> at rfbProto.<init>(rfbProto.java:93) > >> at vncviewer.connectAndAuthenticate(vncviewer.java:193) > >> at vncviewer.run(vncviewer.java:122) > >> at java.lang.Thread.run(Thread.java:619) > >> java.net.ConnectException: Connection refused > > >> -- > >> You received this message because you are subscribed to the Linux Users > >> Group. > >> To post a message, send email to [email protected] > >> To unsubscribe, send email to > >> [email protected] > >> For more options, visit our group at > >>http://groups.google.com/group/linuxusersgroup > > > -- > > You received this message because you are subscribed to the Linux Users > > Group. > > To post a message, send email to [email protected] > > To unsubscribe, send email to [email protected] > > For more options, visit our group at > >http://groups.google.com/group/linuxusersgroup > > -- > > Daniel -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup
