Skip to main content

Addon FTP accounts failing to connect

Answered

Comments

5 comments

  • cPRex Jurassic Moderator

    Hey there!  Have you ensured the passive port range is opened in the server's firewall?  Details on adjusting that in various firewall tools can be found here:

    https://docs.cpanel.net/knowledge-base/ftp/how-to-enable-ftp-passive-mode/#configure-the-firewall

    Can you try that and see if that changes the behavior?

    0
  • RSDS

    Hi cPRex,

    Port 21 (the port the FTP client is trying to connect on) is definitely open.

    Cheers,
    RS

    0
  • cPRex Jurassic Moderator

    Thanks for confirming port 21 is open.  While that is the standard port for FTP connections, I was actually interested in the passive FTP port range documented in that link I sent, which uses a different range of ports in the firewall on the server.  That is what the error log is referring to with those "PASV" entries.

    Can you check that port range as well?

    0
  • RSDS

    Hi cPRex,

    My apologies, it's been one of those days!

    I've added 49152:65534 to TCP_IN in my CSF configuration and the account is now connecting as expected.

    Thanks for your assistance :)

    Cheers,
    RS

    0
  • cPRex Jurassic Moderator

    I'm glad to hear that's all it took!

    0

Please sign in to leave a comment.