Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

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

share|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

Check if VNC server is running.

netstat -a

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.