421 Too many connections
In this tutorial:
In this tutorial we will show you how to view & 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.
VPS, 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
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
- Login to cPanel.
- Click the FTP Session Control button in the Files section.
- You will then see a list of all your current FTP connections. Click the red X in the Disconnect column.
- You will then see a message similar to this "Are you sure you want to disconnect firstname.lastname@example.org FTP user?." Click the Disconnect button to proceed.
You are finished when you see a message like this:"The FTP session with PID 27510 was terminated. "
Limiting Simultaneous Connections in FileZilla
- Open FileZilla.
- Access the Site Manager.
- Click your site, then select the Transfer Settings tab.
- Check the box for Limit number of simultaneous connections, and set the Maximum number of connections to 8.
- Click the OK button. Now when you are using FileZilla, it will not allow you to go over your limitation of 8 simultaneous FTP connections.
Congratulations, now you know how to drop idle FTP connections in cPanel, and limit your FTP connections in FileZilla.
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!
2014-03-07 6:49 pm
Even at only ONE connection in Filezilla, this problem occurs on a fast connection. Any other help out there?
2014-03-10 9:21 am
While this connection may be fast, it could be unstable causing the client to incorrectly send the appropriate information to close that FTP connection. When that happens, connections continue to be opened without being closed which would cause this error.
2014-06-29 6:00 pm
I have same problem on New cloud fast vps server. I terminated 1 connexion and then come back and want to termiante next but it comes back and again they are 7 !
Also im tired to change hositng now as thsi before didnt do. some help? as this is not normal to uploading joomla via ftp 1 all day :(
2014-06-30 8:28 am
Thank you for your comment? We are happy to help, but will need some additional information. Have you tried limiting the simultaneous connections as described in the article?
If you have any further questions, feel free to post them below.
2014-06-30 11:32 am
Well I dont understand why you send me link to this article and ask IF I TRIED this?? If I'm writting fro mthis article it means yes i supposed, and also HAVE YOU READ my post? If so you will know that i tried as i described there that.
I think you just some spam robot thats why i block your website on my antivirus and firewall!
2014-06-30 12:14 pm
We are sorry you were offended but you would be surprised at the number of people who come to an article and then ask how to do something without having tried what the article suggests. John-Paul was not trying to be offensive but to understand exactly what you have done so far.
If you are using FileZilla and have it set to not allow more than one connection, then only one should be connecting from that location. If there are more, you may want to check with your hosting company to see if they are all from you or if there are external connections.
2014-10-02 4:06 am
This is a known problem with Filezilla, although the developers will not admit it (they get angry at anyone who tries to report it, you can see in their support forums).
The only solution I found was to switch to another FTP client, which of course was difficult because otherwise Filezilla is the best one out there (except for this bug!). I have experimented with about 10 other FTP clients and this just doesn't happen with other programs, only Filezilla. Argh!