ftp tool cannot connect to linux server

王林
Release: 2019-12-26 14:31:40
Original
4108 people have browsed it

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
Copy after login

Related free video tutorial sharing:linux video tutorial

2. Start the service

Execute the following command to start the service.

systemctl start vsftpd
Copy after login

3. Execute the following command to confirm whether the service is started.

netstat -tunlp
Copy after login

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!