Symptoms
Attempting to login with FTP fails with a timeout error.
227 Entering Passive Mode
Timeout - try typing a little faster next time
Description
cPanel configures the option "ForcePassiveIP" in PureFTP automatically with the server's primary IP address to accommodate NAT ( Network Address Translation ) configurations. If this isn't required, it can cause FTP logins to timeout when entering Passive mode.
Workaround
Edit the configuration file at path "/var/cpanel/conf/pureftpd/local" to disable option "ForcePassiveIP".
Note: If an entry already exists, replace this IP with "~". If the file doesn't exist or the entry doesn't exist, create the file with the below line.
ForcePassiveIP: ~
Rebuild the configuration to make the change active.
/usr/local/cpanel/scripts/setupftpserver pure-ftpd --force
More details on this workaround can be found in the below documentation URL.
Comments
0 comments
Article is closed for comments.