The client is unable to connect to the local virtual machine on the TCP connection (last Linux firewall issue)

Source: Internet
Author: User

Just installed naked centos6.5, a lot of things than before are not, so do it will encounter a lot of problems.

Today just to solve the problem of SVN can not CI, after the service, found that the client is not connected.

1) port forwarding, check the virtual machine port forwarding, found that there is no problem, Windows Firewall is also closed.

2) in the non-local Service (145) Ping, and Telnet said to be able to connect, indicating that the network layer is not a problem, but seemingly telnet did not respond.

3) In this service tcpdump external port, try to connect or telnet to find a long period of time have received TCP packets, but the content is the same,

Is the client address, the server-side address: The Flag=s packet that listens on the port, indicates that it is trying to send a request to establish the first handshake of the TCP link

The normal build connection should be S S. Then send the data when p. Disconnect is F. F.

A comprehensive analysis may be Linux set up a network firewall

4) Service iptables status found sure how, only to 22 ports open to external acceptance

Solve:

Modify the/etc/sysconfig/iptables to increase the opening of the listening port

Then restart service iptables restart

Then you can connect.

===================

Then think of the previous days with the Werl.exe JCL console under Windows to connect to the node of the Linux server, can not connect directly terminated, perhaps this is the reason.

Seems to be 4369 port but open also not, for the intranet can be stable to do all kinds of operations, so simply put iptables inside the reject are deleted and then found the ERL can be remotely connected.

The client is unable to connect to the local virtual machine on the TCP connection (last Linux firewall issue)

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.