I purchased a vps and configured it by using this tutorial (means installed GENOM desktop and VNC server):


Then I installed tiger VNC viewer and Real VNC Viewer plus. I tried to connect to the server by using the server name and also the ip address using the two software. But I am getting :

(connection refused : error 10061). 

What I did :

I restarted vnc server :

logged in as root.
On terminal : vncserver stop.
On terminal : vncserver start.

I googled and found out that, one of the reason may be entering wrong password multiple time. Password have not entered even once, so no chance of entering wrong passwords multiple time.

I checked with netstat -a. It shows : is listening

I am behind router, so portforwarded the router to local ip and port no.

All this do not work. Kindly tell me what mistake I am doing. Thanks in advance.

(server is ubuntu server 12.04, client is on win 7 64 bit dektop.)

closed as off-topic by Ward, Flup, Basil, mdpc, Falcon Momot Aug 4 '14 at 17:53

This question appears to be off-topic. The users who voted to close gave these specific reasons:

  • "Questions must be relevant to professional system administration. Server Fault is dedicated to professional system and network administrators. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Please see the Help Center for more information." – Flup, mdpc, Falcon Momot
  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – Ward, Basil
If this question can be reworded to fit the rules in the help center, please edit the question.


I was just using ip address. as soon as I used ip:port number, it worked.

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