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 want to connect my Galaxy S2 to my PC using AndroidVNC (for the Android) and TightVNC (for the PC), or any other combination of software to VNC. So far I have managed to port forward ports 5500, 5800, and 5900 on my machine and open my firewall to TightVNC (it did it by default on installation). But whenever I try to login to my PC from my phone, it always times out on establishing handshake. I double checked all the steps (including making sure my IP was correct and my ports are open with Any ideas what I could try next?

share|improve this question
Have you tested it with something other than your phone from the outside? – Paul Feb 3 '12 at 3:39
Also, do you have wifi so you can confirm that it works within your network? – Paul Feb 3 '12 at 3:44
Paul, I have tried to get into my computer from my work computer and that didn't work, but I heard that offices can block such outgoing connections so I can't take that to mean anything. Also I tried to get in from both my machine and another machine on my home network and those got through just fine. I was quite amused by the cascading window effect :). PS, no wifi unfortunately :( – ExitFailure Feb 3 '12 at 6:33
Does anyone have any ideas as to what else I could try? – ExitFailure Feb 6 '12 at 17:45

What display number are you using for TightVNC? I was having the same problems and figured out that I needed to add the display number to the default port number. So, using display 1, I had to connect to Port 5901.

Once I did that androidVNC connected fine.

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.