Troubleshooting

FTP Response 421 Received, Server Closed Connection

The “FTP response 421 received. Server closed connection.” error indicates that the FTP server has terminated the connection, often due to issues like exceeding the maximum number of allowed connections or a timeout due to inactivity. To resolve this, you can adjust your FTP client’s settings, such as reducing the number of simultaneous connections and checking timeout configurations.

Issue:

The error message “FTP response 421 received. Server closed connection.” typically occurs when the FTP server unexpectedly closes the connection, often due to connection limits or inactivity.

Symptoms:

  • The error message may appear in various FTP clients, such as: “FTP response 421 received. Server closed connection.”
  • Frequent disconnections shortly after establishing a connection.
  • Difficulty uploading or downloading files.

Resolutions:

  1. Reduce Simultaneous Connections: Some FTP servers restrict the number of active connections. In your FTP client settings set the Number of Connections to 1.
  2. Check Timeout Settings: The server may close connections due to inactivity. Increase the timeout setting in your FTP client to maintain the connection longer.
  3. Use Passive Mode: When using Ecenica, check your FTP client is using Passive mode.
  4. Check Firewall and Ports: Ensure that your firewall is not blocking the necessary FTP ports (21) and that your FTP client has the required permissions to access them.

These steps should help resolve the “421 Server closed connection” error across different FTP clients.

Was this guide helpful?

Need help with this?

Open a ticket and link to this guide so our team can see what you have tried.

View support tickets

Power your business with Ecenica Hosting

Built for WordPress and serious websites. Fast, secure and supported by real people in the UK.

Ecenica hosting services represented by a connected red route across London