Hi guys, Not sure what the issue is here but if the firewall is active in ISPConfig i cant connect to ftp port 21 Open TCP ports 20,21,25,53,80,110,143,443,465,587,993,995,3306,8080,8081,10000 As you can see the port is open but i get: Status: Connection established, waiting for welcome message... Status: Initializing TLS... Status: Verifying certificate... Status: TLS connection established. Status: Logged in Status: Retrieving directory listing... Error: Connection timed out after 20 seconds of inactivity Error: Failed to retrieve directory listing Disable the firewall and it works.
The listing shows that you connected successfully to port 21. Your problem is something different, it's called passive port range. https://www.faqforge.com/linux/cont...ange-in-pure-ftpd-on-denian-and-ubuntu-linux/
Thank for replying. I actually did all that before asking the question, but i was manually adding a port between 40110 40210 to connect to server. How does setting passive port range 40110 to 40210 allow me to connect on port 21 i dont get
Your problem is not the connection to port 21, which is clearly shown in the connect log you posted. Your problem is that the passive port range of the FTP server does not match the one of the firewall which then causes FTP to fail on 'Retrieving directory listing' when the ftp server switches the connection to one of the passive ports to free port 21. Follow the instructions in the link I posted to correct that in the pure-ftpd config AND in the firewall port settings. Btw, this exact same question has been answered many times here in the forum already, so you could have just used the search function to solve your problem.