Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have downloaded TightVNC Remote Desktop View form following link

Which is running ok on local LAN but it is not able to connect to remote PC in other network. I want to modify this code so that it can connect to remote PC in other network. I am new to socket programming; I have studied about NAT Traversal, UDP and TCP Hole Punching. Can some one guide me in achieving the above task? Thanks in advance.

Regards, Ravi Shankar

share|improve this question
up vote 1 down vote accepted

You simply need to configure port forwarding on the router in the remote network, no programming required. See the section in the TightVNC FAQ, How would I connect from the Internet to a machine in the internal network which is behind a router?

share|improve this answer
Hi John T, Thanks for you pormpt reply. We don't have router in our netwrok. All PC are connected through a switch. – Ravi Shankar Jan 5 '10 at 10:52
I'm talking about the remote PC in the other network. Is it behind a router? – John T Jan 5 '10 at 19:07
Hi John T, in our network all PC are connected to a DLINK ethernet switch, which is connected to a modem. I have also tried all the options in link which you have provided. I have added a virtual service with the said port 5800 but still I am not able to connect from remote pc in other network. – Ravi Shankar Jan 6 '10 at 10:28
Hi John T, Both the network are configured in the same manner. – Ravi Shankar Jan 6 '10 at 13:42
Check the firewall on the remote PC. – John T Jan 6 '10 at 20:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.