Passive mode FTP (vsftpd) error listing directories and timeout

Solution 1:

You have to open the port range 64000–64321 in the local firewall on the server. And if there are any external firewalls or NAT's, configure these to allow/route the port range too.

See also a relevant WinSCP article to understand, what network configuration is needed for the passive FTP.

Solution 2:

  • Check your VSFTPD logs and take appropriate action.
  • If SELinux is enabled check /var/log/audit.audit.log for relevant messages and take appropriate action.
  • Ensure that your firewall is configured to allow port 21 and RELATED connections.