Home  >  Article  >  Operation and Maintenance  >  ftp tool cannot connect to linux server

ftp tool cannot connect to linux server

王林
王林Original
2019-12-26 14:31:404157browse

ftp tool cannot connect to linux server

Cause:

The ftp tool cannot connect to the Linux server and the file cannot be uploaded because your ftp server has not been set up (or has not been started).

Building process:

1. Install vsftpd

Log in to the Linux server and execute the following command to install vsftpd.

yum install vsftpd -y

Related free video tutorial sharing: linux video tutorial

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 means success.

ftp tool cannot connect to linux server

#4. Execute the following command to set vsftpd to start at boot.

chkconfig vsftpd on

The ftp tool can connect to the Linux server normally and files can be uploaded.

More related articles and tutorials are recommended: linux tutorial

The above is the detailed content of ftp tool cannot connect to linux server. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn