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?

link|improve this question

65% accept rate
feedback

1 Answer

First, temporary disable iptables using this command:

service iptables stop

Now try to connect; if the connection was successful, then try to allow VNC default port in iptables.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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