Unable to connect ftp

Avatar forum:mejba 6 months, 3 weeks ago

Hello

i am facing problem connecting FTP. i am using FileZilla for mac.

here is errors:

Error: Connection timed out after 20 seconds of inactivity

Error: Failed to retrieve directory listing

Status: Disconnected from server

Status: Connecting to 198.58.122.84:21…

Status: Connection established, waiting for welcome message…

Status: Initializing TLS…

Status: Verifying certificate…

Status: TLS connection established.

Status: Server does not support non-ASCII characters.

Status: Logged in

Status: Retrieving directory listing…

2 Replies

A connection hung at "Retrieving directory listing…" often indicates a problem with the use of passive ports, e.g., Filezilla is trying to use passive ports, while your FTP server is not configured to accept it.

To fix it:

1. In your FTP server configuration, ensure passive ports are enabled.

2. In your FTP server configuration, define a range of ports for use as passive ports, eg. 10000-10050

3. In your firewall configuration, allow access to those ports.

This is 2018, no one should be using ftp. Switch to scp or sftp.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct