To connect to the ftp server, the Internet centos cannot be connected through the ftp command. The ftp command under the Local cmd can be connected to the client.

Source: Internet
Author: User
Tags default ftp port ftp commands
Linux on the Internet cannot be connected to ftp_connect of php through ftp commands. I tried three machines and can ping them. However, the system remains in the waiting state during the initial connection, not to mention logging on to the ftp server. However, the local windows Server can be connected through the ftp commands in the client or cmd... linux on the Internet cannot be connected to ftp_connect of php through ftp commands. I tried three machines and can ping them. However, the system remains in the waiting state during the initial connection, not to mention logging on to the ftp server.
However, you can connect to and log on to the local windows server by using ftp commands on the client or cmd.
The firewall of the ftp server has been disabled. The default ftp port is 21.

Reply content:

Linux on the Internet cannot be connected to ftp_connect of php through ftp commands. I tried three machines and can ping them. However, the system remains in the waiting state during the initial connection, not to mention logging on to the ftp server.
However, you can connect to and log on to the local windows server by using ftp commands on the client or cmd.
The firewall of the ftp server has been disabled. The default ftp port is 21.

Telnet to check whether your interface is open to the public network.
According to your statement, your port 21 cannot be accessed under the public network.

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.