SOLVED Firewall issue with dynamic IP Address and FTP

AmritMatti

Registered
Apr 18, 2019
2
1
1
India
cPanel Access Level
Root Administrator
Hello All

I have strange issue. I have to allow IP every time in csf other wise i am not able to login via ftp.

Status: Connecting to server-ip:21...
Status: Connection established, waiting for welcome message...
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 (18,210,54,74,219,147)
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
Status: Disconnected from server
Status: Connecting to server-ip:21...
Status: Connection established, waiting for welcome message...
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 (18,210,54,74,237,7)
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing


If i will allow ip in firewall than it's working fine. I have already opened port 21.
is there anything else that i have to be configured?

Thanks in Advance.....
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,219
463

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,219
463
Hello @AmritMatti,

I'm glad to see that helped. I've marked this thread as solved.

Thank you.