Feeds:
Posts
Comments

Posts Tagged ‘vnc’

vnc: connection error

Error:

unable to connect to socket connection refused 111

or

unable to connect to host: No route to host (113)

Reason:

Machine on which VNC server running is blocking the port 5904 ( vnc server on port 5904)

Solution:

Stop vncserver and add port 5901 to iptables in accept mode. Its for temporary. Save iptables if you need changes permanently.

sudo iptables -I INPUT 1 -p tcp --dport 5904 -j ACCEPT

Read Full Post »