In this article
The domain resolves and the IP is known, but the server at that address doesn’t respond. The browser either spins for a long time and gives up (“The connection has timed out”, ERR_CONNECTION_TIMED_OUT), or immediately says “Connection refused” (ERR_CONNECTION_REFUSED). In both cases the request never reaches the site: the problem is the server or the route to it.
What it is
| Error | What happens | Common causes |
|---|---|---|
| Connection refused | The server is alive, but nothing listens on port 443/80 | nginx/Apache crashed or didn’t start, a config error after an edit |
| Connection timeout | The server doesn’t respond at all | The server is off or frozen, out of memory, a firewall or ISP is cutting traffic |
| Response timeout | Connected, but the page never arrived | The site is stuck on a heavy request, the database isn’t responding |
How the monitor checks
Impact on the site and business
- The site is completely unavailable — for visitors, search engines and payment systems.
- Payments and integrations break: notifications from the bank, delivery service and CRM don’t reach the site, and orders “hang”.
- Timeouts tend to grow: first occasional failures at peak hours, then constant ones.
Why it matters
Short timeouts of 2–3 minutes are easy to miss: you open the site and it works. But if they repeat every day at the same time, it is a sign the server is hitting a limit: memory, CPU, number of connections. If nothing is done, one day it won’t come back up on its own.
Norms
| Rating | Status | Comment |
|---|---|---|
| Good | No timeouts or refusals | The server copes |
| Could be better | Occasional timeouts that clear on retry | Watch whether they repeat at the same times |
| Bad | Repeated timeouts or connection refused | The site is down — the server needs investigating |
How to fix it
Hosting and control panel
- Check the host’s status page and your email: is there maintenance or an outage on their side?
- Look at the load and account limits in the panel: when they are exceeded, the host may temporarily throttle the site.
- If the site is on shared hosting and failures repeat, write to support with the failure times from the monitor.
Server (VPS)
Log in over SSH and check in order: is the web server running, is there free memory, is the disk full?
sudo systemctl status nginx
sudo nginx -t
free -h
df -h
sudo dmesg -T | grep -i -E "killed process|out of memory" | tailIf nginx won’t start because of a config error, nginx -t shows the line. If dmesg shows “Out of memory”, the system is short of memory and killing processes: reduce the number of PHP-FPM processes, add swap or upgrade the plan.
Cloudflare
If the site is behind Cloudflare, server timeouts look like errors 521 and 522. Check that the server firewall isn’t blocking Cloudflare’s IP addresses.
General recommendations
- After any web server config change, test it (
nginx -t) before restarting. - Keep an eye on free disk space: a full disk takes down the database and the site.
- If timeouts coincide with the backup, move the backup to night time or limit its load.
FAQ
The site doesn’t open only for me. Is that a timeout?
Your IP may have been blocked by the server firewall (for example, after several wrong passwords). Check the site from a phone on mobile data.
Why does the monitor wait a whole 20 seconds?
So as not to raise an alarm over a one-off slowdown. But if the site takes longer than 8 seconds, the “Response speed” check already flags it as very slow.
Rebooting the server helped. Is that the fix?
It is first aid, not a cure. If the cause (memory, disk, a hung process) isn’t found, the failure will repeat.