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ヶ月前222ビュー
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
エキスパート
レビュー済み 1ヶ月前
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
エキスパート
レビュー済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ