Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to solve the problem that the ftp tool cannot connect to the linux server

Shulou Source: shulou.com Published: 2022-06-03 03:35:00 10月07日 Update

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.

Tags: Services servers commands tools files success content reasons that is articles more ports procedures face-to-face login questions Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS OPPO Reno MySQL Microsoft Apple