When you connect to a Web Hosting host by using an FTP client, you might receive the 227 Entering Passive Mode and ftp: connect: Connection refused errors. This error occurs because the transfer mode of the FTP client is set to passive mode, but the required random ports on the server are not open.
Symptoms
When connecting to a Web Hosting host with an FTP client, you receive the 227 Entering Passive Mode and ftp: connect: Connection refused error messages.
Cause
The FTP client is using passive mode, but the required random ports on the server are not open. This configuration mismatch prevents a data connection from being established.
Solution
- Start FileZilla.
This topic uses FileZilla as an example. Other FTP clients follow similar procedures.
-
In the top menu bar, choose .
-
In the Site Manager dialog box, in the Select entry (S) section, click the name of the affected site (for example, wp).
-
Click the Transfer Settings tab on the right, set the transfer mode to Active (A), and click Connect (C).
-
Verify that the connection is successful.
-
If the connection is successful, the issue is resolved.
-
If the issue persists, submit a ticket for assistance.
-