FTP Server Connection Fails at Retrieving Directory Listing

0

I'm using cPanel/WHM within Amazon Lightsail. I've created a new user in WHM and configured FTP and Shell access through WHM.

Now, as shown in the attached image, I'm attempting to connect to FTP using Filezilla, but I'm unable to establish a connection. It consistently shows "Retrieving directory listing..." and then the connection is dropped.

Certainly, I can connect using the default ec2-user provided by Lightsail using SFTP. However, my goal is to connect via FTP using the user created in WHM.

I would appreciate it if you could review the image and provide guidance on resolving this issue.!Enter image description here

YB
feita há 4 meses220 visualizações
2 Respostas
1

Hello.

Looking at the logs, it seems that the connection is using FTP passive mode, but are the port numbers allowed by Lightsail's firewall correct?
If no port number is set on the FTP server side, one of the ports between 49152 - 65534 will be used.
https://support.cpanel.net/hc/en-us/articles/360055135534-What-ports-should-I-open-in-my-network-firewall-

profile picture
ESPECIALISTA
respondido há 4 meses
profile picture
ESPECIALISTA
avaliado há um mês
0

FTP requires ports 20 & 21 to be open, and it looks like your security group is only allowing traffic on 21.

https://learningnetwork.cisco.com/s/question/0D53i00000Ksx4LCAR/why-does-ftp-have-2-port-numbers

profile picture
ESPECIALISTA
Steve_M
respondido há 4 meses
profile picture
ESPECIALISTA
avaliado há um mês

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas