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
질문됨 4달 전221회 조회
2개 답변
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
전문가
답변함 4달 전
profile picture
전문가
검토됨 한 달 전
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
전문가
Steve_M
답변함 4달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠