Welcome to Centmin Mod Community
Become a Member

Getting error while connecting FTP via Filezilla

Discussion in 'Beta release code' started by radbrad, May 8, 2020.

  1. radbrad

    radbrad Member

    34
    3
    8
    Feb 15, 2020
    Ratings:
    +4
    Local Time:
    1:27 AM
    Please fill in any relevant information that applies to you:
    • CentOS Version:CentOS 7 64bit
    • Centmin Mod Version Installed:123.09beta01
    • Nginx Version Installed: i.e. 1.15.3
    • PHP Version Installed: 7.2.9
    • MariaDB MySQL Version Installed: 10.2.xx
    • When was last time updated Centmin Mod code base ? : i.e. run centmin.sh menu option 23 submenu option 2 or cmupdate command
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc ? You can check via this command:
    When i change my WIFI and IP changes, at that time I'm unable to login to my FTP via FileZilla. How to setup so that i can login to FTP even if i change the IP.


    This is the error
    Code:
    Error:    Connection timed out after 20 seconds of inactivity
    Error:    Could not connect to server
    
     
    Last edited: May 8, 2020
  2. eva2000

    eva2000 Administrator Staff Member

    49,887
    11,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,845
    Local Time:
    5:57 AM
    Nginx 1.21.x
    MariaDB 10.x
    Could be CSF Firewall has blocked your other IP. Similar to Sysadmin - Locked myself out due to CSF? How long is the IP blocked? maybe ?

    more info might be helpful
    1. What version of Centmin Mod ? .08 stable or .09 beta ? If .09 beta when was it installed and when was last time you updated the code ?
    2. What's your VPS/Server hardware specifications ? Xen/KVM/OpenVZ ? cpu type ? memory available ? disk space ? OS and version ? i.e. CentOS 6.10 or 7.8 ?
    3. Who's your web host ?
    4. Your ISP ip address static/dynamic ?
    5. What were you doing connection wise to your server leading up to the blockage ?
    6. If you're on dynamic ip, you may need additional steps CSF Firewall as per Getting Started Guide step 4
    7. If you can, check if you ips are blocked using csf -g grep command.
      Code:
      csf -g YOURIPADDRESS
      commands you can see for csf via
      Code:
      csf -h
      whitelist your ISP range of ips if you know the range
      Code:
      csf -a IPADDRESSORRANGE
      remove temp and permanent blocks from csf
      Code:
      csf -tr IPADDRESS
      csf -dr IPADDRESS
      also check CSF /var/log/lfd.log for clues. Don't post the output of this command due to sensitive info
      Code:
      tail -50 /var/log/lfd.log
      another log is /var/log/messages you can grep it for your ips. Don't post the output of this command due to sensitive info
      Code:
      grep IPADDRESS /var/log/messages
      and your /var/log/secure. Don't post the output of this command due to sensitive info
      Code:
      tail -20 /var/log/secure

    Do you have a VPN connection you can use ? Try using that to FTP into your server to see if it's just your specific IP that is an issue. If you have VPN like private one with dedicated IP, you can also whitelist that VPN IP in CSF Firewall. That's what i usually do so have multiple avenues to connect to server via SSH.