Skip to main content

FTP Connection Problem

Comments

6 comments

  • triantech
    hey, You might need to open those ports in firewall, that is my best guess
    0
  • nasirnjs
    I also add this rules into firewall is ok? or need to restart firewall ?? -A INPUT -p tcp --dport 49494:49894 -j ACCEPT
    0
  • cPanelMichael
    Hello :) Could you clarify why you ran used a different port range in /var/cpanel/conf/pureftpd/main compared to /etc/pure-ftpd.conf? I suggest using a firewall management tool such as CSF to allow the port range. Thank you.
    0
  • caisc
    Looks like you are using CSF firewall, here is the fix for this - Login to the server using SSH as root user Open the file /etc/pure-ftpd.conf Scroll down and look for the line that says #PassivePortRange 30000 35000 Make sure it is not commented out (remove the # at the starting of the line) Save the file Restart the FTP server Now Login to your WHM and go Plugin section --> ConfigServer Security & Firewall and Edit the configuration file for the csf firewall and lfd so that you Add the port range 30000:35000 to TCP_IN Now, restart CSF and test FTP again. You should be able to connect with FTP now.
    0
  • nasirnjs
    Thanks every one Problem solve was Firewall Problem ..
    0
  • cPanelMichael
    I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.