FileZilla Connection time out Failed to retrieve directory listing

If you are trying to connect to the server using FileZilla FTP Client and you get the below error,

FTP Client Logs :
11:38:11 Status: Connecting to
11:38:11 Status: Connection established, waiting for welcome message...
11:38:11 Response: 220 Welcome to Pure-FTPd [privsep] [TLS]
11:38:11 Response: 220-You are user number 16 of 206 allowed.
11:38:11 Response: 220-Local time is now 23:08. Server port: 21.
11:38:11 Response: 220-This is a private system - No anonymous login
11:38:11 Response: 220 You will be disconnected after 3 minutes of inactivity.
11:38:11 Command: AUTH TLS
11:38:11 Response: 234 AUTH TLS OK.
11:38:11 Status: Initializing TLS...
11:38:12 Trace: TLS Handshake successful
11:38:12 Trace: Protocol: TLS1.0, Key exchange: RSA, Cipher: AES-256-CBC, MAC: SHA1
11:38:12 Status: Verifying certificate...
11:38:12 Status: TLS connection established.
11:38:12 Command: USER asf255
11:38:12 Response: 331 User asf255 OK. Password required
11:38:12 Command: PASS *************
11:38:12 Response: 230 OK. Current restricted directory is /
11:38:12 Command: OPTS UTF8 ON
11:38:12 Response: 200 OK, UTF-8 enabled
11:38:12 Command: PBSZ 0
11:38:13 Response: 200 PBSZ=0 11:38:13 Command: PROT P

11:38:13 Response: 200 PORT command successful. Consider using PASV.
11:38:13 Command: LIST
11:38:13 Error: Connection timed out
11:38:13 Error: Failed to retrieve directory listing

It can be that your Firewall is blocking access, disabling Firewall, and try connecting. If still, you get similar issue then,

  1. Goto FileZilla Menu : Edit -> Settings ( FileZilla -> Settings on Mac OS X)
  2. Select : Connection -> FTP -> Active Mode : Ask your operating system for the external IP address
  3. Select : Connection -> FTP -> Passive Mode : Fall back to active mode
  4. Click OK!
  5. Try connecting to the server.
Try Out Code2care Dev Tools:


Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR -