Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Pure-FTPD Timeout on Amazon EC2 instance

Discussion in 'General Discussion' started by dstana, Feb 21, 2019.

Tags:
  1. dstana

    dstana Well-Known Member

    Joined:
    Jul 6, 2016
    Messages:
    70
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Phoenix, AZ
    cPanel Access Level:
    Root Administrator
    One of our servers is an EC2 instance hosted on AWS. For some reason, pure-ftpd connections do not work. Logins are successful but upon trying to retrieve the directory listing it hits a timeout every time.

    Firewalld is configured to allow passive mode. Even with the firewall off it is still an issue. And I've verified that:

    ForcePassiveIP: xxx.xxx.xxx.xxx
    Is set in /var/cpanel/conf/pureftpd/main

    What else should I look for?
     
    #1 dstana, Feb 21, 2019
    Last edited: Feb 21, 2019
  2. dstana

    dstana Well-Known Member

    Joined:
    Jul 6, 2016
    Messages:
    70
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Phoenix, AZ
    cPanel Access Level:
    Root Administrator
    This was a firewall issue, but with the VPC firewall. Opening ports 49152 through 65534 in the VPC resolved this issue.
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,009
    Likes Received:
    2,123
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @dstana,

    Did you add the passive port range to the Security Group settings in the EC2 dashboard? A link to the Security Group settings is found under the instance "Description" tab.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,009
    Likes Received:
    2,123
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thanks for sharing the outcome!

    Do you mind sharing the step-by-step instructions of what you did in-case someone else faces a similar issue?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice