[CentOS] VNC server not reponding to external requests

Joseph Spenner joseph85750 at yahoo.com
Mon Feb 25 21:34:40 UTC 2013


On 02/25/2013 11:33 AM, Neil Aggarwal wrote:

> Hello everyone:
>
> I tried following the instructions on this page to set up a VNC
> server:
> http://wiki.centos.org/HowTos/VNC-Server
>
> I can telnet to port 5901 from the machine itself:
> # telnet 127.0.0.1 5901
> Trying 127.0.0.1...
> Connected to 127.0.0.1.
> Escape character is '^]'.
> RFB 003.008
>
> But, when I try to connect to it from the outside world, I get a connection
> timeout.
>
> My /etc/sysconfig/vncservers file does not have the -nolisten tcp nor the
> -localhost
> options so it should be configured to accept outside connections.
>
> Is there some default setting in the vncserver that I need to change to
> allow outside
> connections?

Try:

# netstat -an |grep 5901

What do you get back?

Also, is this box reachable from the outside world on any other ports?  Just curious about network connectivity.  SSH maybe?

telnet ip.of.box  22




 If life gives you lemons, keep them-- because hey.. free lemons.
"~heart~ Sticker"  fixer:  http://microflush.org/stuff/stickers/heartFix.htm


More information about the CentOS mailing list