FTP Connection not
URGENT
Hello guys
I have installed whm on my server. Everything is fine but when I checked the ftp it not working as expected.
issue I faced when I try to connect to my ftp server from filezilla :
Status: Resolving address of hostname
Status: Connecting to XX.XX.XXX.XXX:21<IP>
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (49,13,132,105,234,86)
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
Status: Disconnected from server
What I did:
-opened port 21 in my hetzner firewall(both inbound and outgoing)
-port 21 was already in CSF firewall in whm so I added the range as suggested by chatgpt that is 49152:65534
Looks like: TCP_IN = "20,21,22,80,443,49152:65534"
TCP_OUT = "20,21,22,80,443,49152:65534"
I have restarted csf then but still the same issue.
Note: I haven't added any port range in hetzner firewall yet
What is the things that I am missing which caused this? Please help me its urgent.
-
Hey there! Adding the passive mode ports was the correct thing to do for this issue, and I would have expected that to resolve the problem. Is it possible your machine is also running firewalld at the same time and causing confusion?
0
Please sign in to leave a comment.
Comments
1 comment