Learn about Centmin Mod LEMP Stack today
Become a Member

FTP issues timeout

Discussion in 'Other Centmin Mod Installed software' started by joshuah, Apr 18, 2017.

  1. joshuah

    joshuah Member

    121
    14
    18
    Apr 3, 2017
    Ratings:
    +17
    Local Time:
    8:13 PM
    • CentOS Version: CentOS 7 64bit ?
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.11.10
    • PHP Version Installed: i 7.0.18
    • When was last time updated Centmin Mod code base ? : today

    Code:
    Command: PWD
    
    Response: 257 "/" is your current location
    
    Command: TYPE I
    
    Response: 200 TYPE is now 8-bit binary
    
    Command: PASV
    
    Response: 227 Entering Passive Mode (xxx,xx,xxx,xxx,xxx,40)
    
    Command: MLSD
    
    Error:        The data connection could not be established: ETIMEDOUT - Connection attempt timed out
    
    Error:        Connection timed out after 20 seconds of inactivity
    
    Error:        Failed to retrieve directory listing
    
    I've tried every auth option, disabling CSF, etc.
    
    Anything else I can try?
    
    Thanks.
    Edit: using latest filezilla on MAC.

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,860
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    7:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Do you have a local PC firewall in place ? Your local PC might need to whitelist passive ports and ensure Explicit TLS/SSL connections are set as outlined at Pure-FTPD Virtual FTP Users - CentminMod.com LEMP Nginx web stack for CentOS
    Also see FAQ items 40 & 41 for details and clues.
     
  3. joshuah

    joshuah Member

    121
    14
    18
    Apr 3, 2017
    Ratings:
    +17
    Local Time:
    8:13 PM
    Hi mate, i am using a macbook and have the firewall disabled. It is strange because it works fine for other hosts, just not this configuration for some reason.
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,860
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    7:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    other hosts using centmin mod or other hosts using non-centmin mod setups ?

    DO NOT disable CSF Firewall as it setups up proper passive ftp support for pure-ftpd. If you disable CSF Firewall, pure-ftpd virtual ftp with passive ports will NOT work.
     
  5. joshuah

    joshuah Member

    121
    14
    18
    Apr 3, 2017
    Ratings:
    +17
    Local Time:
    8:13 PM
    Sorry, I meant I disabled the local macbook firewall.

    I meant, other hosts in general.
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,860
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    7:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    That is usually firewall related though. Does your local PC go through a router/switch ? It might need whitelisting at that level.
     
  7. joshuah

    joshuah Member

    121
    14
    18
    Apr 3, 2017
    Ratings:
    +17
    Local Time:
    8:13 PM
    Dang. It was a firewall sitting infront of my VPS. I had to open port 30001 - 500011.
     
  8. eva2000

    eva2000 Administrator Staff Member

    54,860
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    7:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ah ha.. web host vultr ?
     
  9. joshuah

    joshuah Member

    121
    14
    18
    Apr 3, 2017
    Ratings:
    +17
    Local Time:
    8:13 PM
    Yep.. CSF was configured right, but it was the firewall sitting infront, which is pretty neat (in a way) :)
     
  10. eva2000

    eva2000 Administrator Staff Member

    54,860
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    7:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    k updated ftp and Step 2 Getting Started Guide pages with a note for other firewalls :)

     
  11. eva2000

    eva2000 Administrator Staff Member

    54,860
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    7:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+