Error to connect via FTP

Discussion in 'General' started by Krittidet, Aug 27, 2020.

  1. Krittidet

    Krittidet New Member

    I'm installed by Tutorial: Automated ISPConfig 3 installation on Ubuntu 18.04
    everything working but while I'm try to connect with ftp I'm can't connect (I'm use filezilla)

    can staff help me?

    I'm use aws hosting
    open any port required

    Status: Waiting to retry...
    Status: Resolving address of knowledge.mininggarden.com
    Status: Connecting to xx.xx.xx.xx:21...
    Status: Connection established, waiting for welcome message...
    Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    Response: 220-You are user number 1 of 50 allowed.
    Response: 220-Local time is now 16:31. Server port: 21.
    Response: 220-This is a private system - No anonymous login
    Response: 220-IPv6 connections are also welcome on this server.
    Response: 220 You will be disconnected after 15 minutes of inactivity.
    Command: AUTH TLS
    Response: 234 AUTH TLS OK.
    Status: Initializing TLS...
    Status: Verifying certificate...
    Status: TLS connection established.
    Command: USER krittidet_ftp
    Error: GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.
    Status: Server did not properly shut down TLS connection
    Error: Could not read from socket: ECONNABORTED - Connection aborted
    Error: Could not connect to server
     
  2. Krittidet

    Krittidet New Member

    ERROR again via WINscp

    Server sent passive reply with unroutable address 172.31.8.96, using host address instead.
    Timeout detected. (data connection)
    Could not retrieve directory listing
    Error listing directory '/'.
     
  3. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

  4. Krittidet

    Krittidet New Member

  5. till

    till Super Moderator Staff Member ISPConfig Developer

    If you have a router or firewall in front of the server, then you'll have to open the same port range that you set as passive port range in the ftp server.
     
  6. Krittidet

    Krittidet New Member

    I'm use aws server
    I'm open 80, 8080, 995, 143, 53, 443, 110, 993, 22, 21, 25, 3306, 20, 53, 8081
    missing some port?

    Thank you
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Sure, you missed opening the whole passive port range that you configured in pure-ftpd.
     
    Krittidet likes this.
  8. Krittidet

    Krittidet New Member

    Thank you for nice support
    passive port range that mean TCP 40110-40210 right?
     
  9. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    probably. it's whatever port range you put in the PassivePortRange file, 40110-40210 was used in that example in the link, but you can choose your own port range.
    also, just in case it's not been done, the pure-ftpd service needs restarting after changing the port range and/or the passive ip address.
     
    Krittidet likes this.
  10. Krittidet

    Krittidet New Member

    Thank very much that working with Only use plain FTP, can you suggest to setup about secure access (TLS)
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    If you followed the ispconfig install instructions (perfect server guide), then tls should already be active.
     
    Krittidet likes this.

Share This Page