Solve the reasons and solutions for the failure to log in and connect to the FTP account of the Pagoda Panel

888u

Last update at :2024-07-07,Edit by888u

Lao Zuo has mentioned many times in previous articles that if we use the server ourselves, we can directly use SFTP to log in to manage total permissions or key authorization connections. However, some netizens may be used to using virtual hosts, so they FTP account login is a sentimental thing, so after using the server, the LNMP one-click package or pagoda panel built requires one FTP account to log in to each website. There is no problem with this management method, but sometimes there are file authorization issues and the program cannot be installed or It is a port problem that prevents FTP from connecting.

Yesterday afternoon, someone in the netizen group contacted Lao Zuo and asked that when he was using the Pagoda panel, his FTP account was created in the Pagoda backend, but he could not connect when logging in locally using the FTP software. What is the problem? In this article, Lao Zuo (LAOZUO.ORG) is going to make a simple analysis of this problem, as well as a brief summary of the problem that similar netizens have encountered in the past and cannot connect to FTP.

First, whether the FTP environment is installed

Since we are going to use FTP management for each site, we need to check whether software like Pure-Ftpd is installed. Because when deploying LAMP or LNMP when logging in to the Pagoda panel for the first time, we need to check whether Pure-Ftpd is installed. If we don't have it installed, we can go directly to the software store to install it.

After we install it here, we go to the account to create an FTP account.

Second, check whether the port is allowed

The problem for this student is that he uses the Alibaba Cloud server. By default, this server requires an authorized security group (Alibaba Cloud ECS server quick configuration security group release port method). He did not check port 21 when authorizing the security group. Although the Pagoda panel automatically authorized port 21 to the server, it would not work if the Alibaba Cloud security group did not authorize it. Therefore, the problem was solved after he reauthorized port 21.

Just like when we add regular port permission, check the box normally.

Third, active and passive mode issues

Sometimes we know that the account is correct and there is no problem with the authorized port, but we cannot connect or it is disconnected after a while. So I will check the passive mode in the FTP client tool.

Basically, these problems can solve the problem of FTP account being unable to connect. If our server is managed by ourselves, it is recommended to use SFTP to connect directly, so that the permissions are more open. Of course, you need to manage the files yourself and do not mess with the files in the server.

Recommended site searches: cheap domain name, virtual host space, Taiwan proxy server, Yangzhou dual-line server high-defense server rental, Hong Kong server, which Hong Kong server is fast, free virtual host in the United States, Tencent cloud server, domain name registration website, < /p>

Solve the reasons and solutions for the failure to log in and connect to the FTP account of the Pagoda Panel

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码