Question : Problem: Connection Timed out problem on LAN

The problem:

1. The two systems(with XP operating system)  are on LAN

2. I installed VNC server on one system. I wrote  client program that will access VNC server from other system on port 5900.

3. When I tried to connect the client to server,

                                    by the command: java filename Host Hostname PORT 5900

its giving an error :

        java.net.connectionException: connection timed out.
                at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
                at java.net.socksSocketImpl.connect(.....)
                               :
                               :
java.net.connectionException:Connection timedout.

4. I tried the following command:

          Telnet Host portnumber

Its giving connection failed.



Please reply soon....

Answer : Problem: Connection Timed out problem on LAN

sounds like you're either specify the wrong host/port or the server isn't listening on that port
Random Solutions  
 
programming4us programming4us