Knowledgebase

Portal Home > Knowledgebase > FTP > FTP Howto & Issues > 421 Too many connections


421 Too many connections


In this tutorial, we will show you how to view and drop idle FTP connections in cPanel and limit your FTP connections in FileZilla. These steps should help fix or avoid the 421 Too many connections error.



Idle FTP Connections

What is / causes an idle FTP connection?

Idle FTP connections are caused when an FTP client opens multiple connections, without closing the previous ones, or due to an incorrect setting.

Dedicated, and Managed hosting plans have the ability to modify the number of simultaneous connections allowed in their WHM; the default setting is usually 8 or 10. Increasing this limit will prevent the error messages that we will review later in this tutorial. Our Shared and Reseller plans allow up to 8 simultaneous FTP connections from 1 IP address at a time, but cannot raise this limit.


Response: 421 Too many connections (8) from this IP


421


If your FTP client is using more than 8 connections at the same time, you will get refused with a message similar to this:

Response: 421 Too many connections (8) from this IP Error: Could not connect to server


Viewing / Closing Idle Connections in cPanel

Step 1:   Login to cPanel.

Step 2.
Click the FTP Session Control button in the Files section.

ftp-session-controll.png



Step 3: 
You will then see a list of all your current FTP connections. Click the red X in the Disconnect column.

disconnect-ftp-session.png



Step 4:
You will then see a message similar to this "Are you sure you want to disconnect testuser@example.com FTP user?." Click the Disconnect button to proceed.

confirm-disconnect-ftp-session.png

You are finished when you see a message like this:"The FTP session with PID xxxxxx (Numbers Will display instead of X'swas terminated."

Was this answer helpful?


Add to Favourites Add to Favourites    Print this Article Print this Article


Also Read

How to FTP (Views: 814)

Language: