When you log on from vncview, the connectionrefused (10061) solution is displayed.

Source: Internet
Author: User
1. graphical interface if connectionrefused (10061) is prompted when you log on from vncview, it is because of a linux firewall problem. log on to centos and select System? & Gt; Preferences? & Gt; RemoteDesktop: check the two items in sharing. the Security items are not checked. click close and re-use vn.

1. graphic interface

If connection refused (10061) is prompted when you log on from the vnc view, it is because of a linux firewall problem. log on to the centos System and select System?> Preferences?> For Remote Desktop, check the two items in sharing. if Security is not checked, click close and log on again with vnc view.

2. modify the command line:

When using the firewall to connect to a remote system, Port 5901 must be enabled.
Add the following red parts and restart the iptables service.
[Root @ localhost. vnc] # more/etc/sysconfig/iptables
-A RH-Firewall-1-INPUT-m state? State NEW-m tcp-p tcp? Dport 5901-j ACCEPT
#/Sbin/service iptables restart


-

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.