Symptoms
Attempting to log in with FTP fails with a timeout error:
CONFIG_TEXT: 227 Entering Passive Mode
Timeout - try typing a little faster next time
Cause
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.
Resolution
Edit the configuration file at /var/cpanel/conf/pureftpd/local to disable the option "ForcePassiveIP".
- If a "ForcePassiveIP" entry already exists within the
/var/cpanel/conf/pureftpd/localfile, replace the IP with "~". - If the
/var/cpanel/conf/pureftpd/localfile doesn't exist, create it with "ForcePassiveIP: ~". - If the
/var/cpanel/conf/pureftpd/localfile exists but the "ForcePassiveIP" does not exist within it, add the line "ForcePassiveIP: ~" to it.
Rebuild the configuration to make the change active by running the following command:
# /usr/local/cpanel/scripts/setupftpserver pure-ftpd --force
Comments
0 comments
Article is closed for comments.