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.

Create all the FTP accounts you need with one of our Business Hosting plans.

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.

With VPS, Dedicated, and Managed hosting plans you can modify the number of simultaneous connections allowed in their WHM and the default setting is usually 8 or 10. Increasing this limit will prevent the error messages that we’ll 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 you cannot raise this limit.

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

view of 421 too many connections error in filezilla

If your FTP client is using more than 8 connections at the same time, you’ll get an error 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

  1. Login to cPanel.
  2. Click FTP Session Control in the Files section.
    access ftp session list
  3. You will then see a list of all your current FTP connections. Click the Disconnect link in the Actions column.
  4. You will see a message similar to “Are you sure you want to disconnect testuser@example.com FTP user?.” Click Disconnect 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

  1. Open FileZilla.
  2. Access the Site Manager.
    site manager in filezilla
  3. Click your site, then select the Transfer Settings tab.
  4. Check the box for Limit number of simultaneous connections and set the Maximum number of connections to 8.
  5. Click OK. 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 also have helpful guides on how to Enable Logging in FileZilla, Troubleshooting FileZilla Error Logs, and Managing your files in FileZilla.

Thoughts on “421 Too many connections

  • Hello,
    Thanks for the informative tutorial. Got a lot of information here. I was also facing the same issue in my website and got if fixed. Keep writing like this.

  • So what is missing here is that I also have a godaddy vps and use other hosing services. I’m running the same apache software and do not experience the to many connections issues. There is some setting in linux system that is allowing these connections to not close properly. Yes many claim it is a filezilla issue but if you read the threads others experience the same issues with other ftp clients. This is a real problem and it should be escalated to your highest tech rep to get the situation resolved. It is something with the way the servers are configured at inmotionhosting. ftp connections are not supposed to build up unclosed like this.

  • Thank you caseyb for the fast response. I solved my problem using upload in Cpanel, after wasted whole afterneoon with Filezilla, Total Commander and trial version of FlashFXP. I have no idea why all of these are so slow and always disconnected. It was annoying! Maybe some Windows 10 or Cpanel settings problem which I am not able to find out. Cpanel is upload much more hurrier. I think I will forget using ftp anymore!

  • I use filezilla long time ago and everytime used without any settings from my side. But everytime had worked properly. What a frustrating thing is now there is too many connections? Why should I set anything? What happened?

    • Eszter, there may be a bug with the version of Filezilla that you are using that may not be terminating connections properly. I would recommend trying a different FTP program if you continue to see this issue.

  • I am experiencing problems with FTP and PHPStorm. If I connect normally by limiting the number of connections 8, after a few minutes by importing files from the server to my local project, the error 421 occurs (too many connections).

    The only solution is to use PASSIVE mode, but the transfer rate in this mode is extremely slow. Does anyone have a solution to this problem?

    Thank you.

    • Hello Sergio,

      Sorry for the problem with the FTP connections. The number of connections are limited in order to help keep server load lower. We have an article for the setup of a typical FTP client (Filezilla). The setting in FileZilla used to limit connections is shown in the tutorial above. You may want to try the client, for find a way to limit the connections to 8. We have no way of being able to change that limitation.

      Our apologies if the error persists. You may need to submit a support ticket to our live technical support team (contat info below).

      If you have any further questions or comments, please let us know.

      Regards,
      Arnel C.

  • Hi,

    Even though I see that there are no active connections/sessions, i am still not able to connect to FTP 🙁 

     

    I have tried winzilla on windows and transmit on mac both are not connecting. A resolution to this is much appreciated.

  • Hello,

    At general-> encryption i’ve selected “Only use plain FTP (insecure) and it works..But insecure.

    Try yourself

  • The solutions suggested in the above posts did not work for me, except for the one suggesting to switch to a different client. I used WinSCP. It was significantly slower than FileZilla, but the 421 error didn’t occur and the transfer completed successfully.

    • Hello,

      Thank you for contacting us. Since your site is not hosted on our servers, I cannot check that the services are functional. So, you way want to contact your web host to verify everything is working.

      Next, verify your FTP settings are correct, and there are no typos, or misspellings.

      Thank you,
      John-Paul

  • My site is down and I need to upload my backup. Will my other 10 or more connections log out in time? or how should I go about connecting. 

    Thanks

    • Hello TJ,

      Sorry to hear that you’re having a problem with your website. If your site is down and you’re not able to connect to it via the internet, then you will need to contact our live technical support team. They can help you determine the cause of your connection problem. They can also help to determine the best way to get your backup restored and your website backup.

      I hope this helps to resolve your problem. If you have any further questions or comments, please let us know.

      Regards,
      Arnel C.

  • I had this issue with my IDEs when working on remote proyects which I handle with FTP connection. Anyways, i was having this multiple connections issue 421 and i followed these instruction on here but i was still having the same issue, then, after reading this article http://slacksite.com/other/ftp.html I checked the passive move on my IDE(PHPStorm) and it worked, so i would probably suggest you give this a try, chack passive mode, and ofcourse read the article.

    Good luck

    • Be sure to check over your existing FTP connections in cPanel to ensure that they have all disconnected. Then, check over your FTP client to ensure that it is not attempting to open too many connections. Set the connection number to as low as possible in case the client causes a disconnection issue and opens up another connection before the previous is fully closed. Try also restarting any computers that may be connected to ensure that there are not any residual connections there.

  • I faced the same problem and i did what you wrot here but still have the same problem and didn’t end .. may be the problem with server??

  • 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!

  • 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!

    • Hello Dusan,

      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.

      Kindest Regards,
      Scott M

  • 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 🙁

Leave a Reply