Ftp: connect: Noroutetohost

Source: Internet
Author: User
Ftp: connect: Noroutetohost -- Linux general technology-Linux technology and application information. For more information, see the following section. Ftp: connect: No route to host
After vsftpd is installed today, the basic configuration is OK.
Access from other servers, prompt
If this problem occurs, it is not related to the configuration of the vsftpd service, because you can access the service normally locally. First, check whether the Firewall adds port 21,
Run the command iptables-L -- line-num.
It is found that it has been added. In addition, it can only be considered that the firewall has fewer ftp modules, resulting in an error.
Edit vi/etc/sysconfig/iptables-config
Add a row: IPTABLES_MODULES = "ip_nat_ftp ip_conntrack_ftp"
Then restart iptables.
[Root @ In-Server3 ~] # Service iptables restart
Flushing firewall rules: [OK]
Setting chains to policy ACCEPT: filter [OK]
Unloading iptables modules: [OK]
Applying iptables firewall rules: [OK]
Loading additional iptables modules: ip_nat_ftp ip_conntrack_ftp [OK]
OK. The module has been loaded.
Access the ftp service again
That's OK .....
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.