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'm running a headless Ubuntu 12.04 server on which I've enabled "Desktop Sharing". The server is connected to the Internet via a router. I can access the server from my laptop connected to the same router using the server's ip and vnc port ( via tightvnc viewer. I wanted to access the server over the Internet, so I set up a DyDNS domain ( which points to the routers WAN ip and set up a virtual server rule in the router which forwards all requests on port 8888 to When I put in tightvnc viewer (using a separate Internet connection at a friends house) I can't connect to the server. I can connect to the Apache Web server on the server running at Port 80 over the Internet (at example. but not the vnc server running at Port 5900. It means the DyDNS service is pointing to the correct ip. The Web server also has a similar virtual server rule in the router pointing all traffic at Port 80 on the router to Why is the vnc server not working... Any help?

share|improve this question

It's probably best to use the same port on the server and the router. Either stick with the default VNC port and change the router settings or just change the VNC port to 8888.

If things works locally then you know for sure that the routing is the problem.

share|improve this answer

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.