Centos – vncviewer connection refused (61)

centosremote desktopterminalvnc

I have a root access to VPS (centos 6). I have installed VNCServer using this guide line
http://tournasdimitrios1.wordpress.com/2011/02/02/how-to-setup-vnc-server-on-centos-5-x-fedora-11/

Everything goes perfectly and server is running via termina. Now I am trying to connect to that server via vncviewer (mac os). but its giving me error

Connection refused (61)

I am providing only the IP address of the VPS, maybe I also needed port address? How to configure port on vncserver? or its something else?

Best Answer

I've just had this problem. I resolved it by explicitly stating the port number when connectin from the client. E.g.:

1.23.45.67:5901

Hope this helps someone.

Related Question