An ERR_CONNECTION_TIMED_OUT error can occur due to various causes. First, you can check a plugin conflict. And you may experience this error when your IP address is blocked by server. Also, this issue also take place due to increase of concurrent users.
WordPress: ERR_CONNECTION_TIMED_OUT error due to increase of concurrent users
Recently, the error message "ERR_CONNECTION_TIMED_OUT" appeared when visiting one of my WordPress site. The site was opened shortly after the error message was displayed.
I created a test server on Cloudways and restored my WordPress site on it. In the test server, I could access the site without any errors.
I suspected that a server configuration might have caused the "ERR_CONNECTION_TIMED_OUT" error.
After contacting Bluehost, I was told that the error was due to the low value of max_user_connections. I increased this value and the error disappeared.
It's possible to increase the following option by editing the my.cnf file under the /etc folder:
max_user_connections=xx
You might request your webhosting company to increase this value if you do not know how to edit the my.cnf file.
If you want a cost-efficient web-hosting service for your WordPress websites, you might consider Bluehost as an option. When you register for a Shared Hosting or a VPS plan by clicking the following banner or a link on this article, I will be qualified to earn some commission. I do not suggest a specific service just for commission; I've been running many WordPress sites including this site on Cloudways, Bluehost and FastComet for years.