I set a VNC on my server and but when I want to connect to my server with VNC i get this error :

" Failed to connect to server"

what am i going to do ? thanks in advance

link|improve this question
feedback

2 Answers

Check that the firewall is allowing tcp connections to the port number your vnc server is listening to.

link|improve this answer
my firewall in now off :D !!! – Emma Jun 1 '10 at 10:29
and then, can you establish a tcp connection? does the machine respond to your icmp requests? does the vnc server listen to the correct interface? – Maxwell Jun 1 '10 at 14:50
feedback

Check if VNC server is running.

netstat -a

link|improve this answer
feedback

Your Answer

 
or
required, but never shown