How to solve the problem that the ftp tool cannot connect to the linux server
Reason:
The ftp tool cannot connect to the Linux server and the file cannot be uploaded because your ftp server is not built (or started).
Build process:
1. Install vsftpd
Log in to the Linux server, execute the following command, and install vsftpd.
Yum install vsftpd-y
2. Start the service
Execute the following command to start the service.
Systemctl start vsftpd
3. Execute the following command to confirm whether the service is started.
Netstat-tunlp
If you see port 21, it is successful.
4. Execute the following command to set vsftpd to boot.
Chkconfig vsftpd on
The ftp tool can connect to the Linux server normally, and the files can be uploaded.
These are the details of how the ftp tool cannot connect to the linux server. Please pay attention to other related articles for more information.