防火墙导致的VNC连接服务器超时10060错误问题解决

问题:vncserver已启动,但客户端连接时报超时10060错误

解决:

1、执行ps -ef | grep vnc命令查看VNC使用端口5901

2、执行telnet ip 5901显示端口无法连接

3、执行ntsysv命令或 service iptables stop,停止防火墙服务

4、执行chkconfig --list  iptables,检查防火墙状态,未完全关闭则执行chkconfig iptables off

5、执行telnet ip 5901测试端口确认可以连接

posted on 2015-10-14 21:47  波谲云诡  阅读(7189)  评论(0编辑  收藏  举报