Service not running
The web server, app server or database crashed, stopped or was never started.
Monitor
Protect
Manage
By role
Security
Renewals
Monitoring
ERR_CONNECTION_REFUSED means your browser reached the destination, but nothing there accepted the connection, so the attempt was refused. The usual cause is that no service is listening on that port, or a firewall rejects it. Check the address and port first, then the service.
| Error | Meaning | What it usually points to |
|---|---|---|
| ERR_CONNECTION_REFUSED (-102) | A connection attempt was refused | No listener on the port, or a firewall that rejects |
| ERR_CONNECTION_TIMED_OUT (-118) | A connection attempt timed out | Silent drop: firewall, routing or an unreachable host |
| ERR_CONNECTION_RESET (-101) | A connection was reset (TCP RST) | An established connection was cut off |
| ERR_EMPTY_RESPONSE (-324) | Server closed the connection without sending data | Server or proxy crashed or dropped the request |
Source: Chromium net_error_list.h.
The web server, app server or database crashed, stopped or was never started.
The site runs on 3000 or 8080 but you opened port 80 or 443, or the app listens on a different port than the proxy expects.
A firewall rule set to reject, rather than drop, answers with a refusal.
The service binds to 127.0.0.1, so it works on the server but refuses outside connections.
DNS or a hosts file points at a machine that does not run the site.
A browser proxy, VPN or security tool on your device refuses or mishandles the connection.
Look for typos and the right scheme. http:// and https:// use different ports, 80 and 443 by default.
If it works elsewhere, the problem is your device, network, proxy or VPN. If it fails everywhere, the server is the cause.
Check proxy settings in the browser and OS, and test without a VPN.
Use the commands below to see whether the port accepts connections.
Run ss -tlnp on the server and check the service is bound to the public address and expected port.
Allow the port in the host firewall, cloud security group and any CDN or load balancer in front.
# any OS with curl: -v shows "Connection refused" if refused
curl -v https://example.com:443
# Windows PowerShell
Test-NetConnection example.com -Port 443
# on the server: what is listening, on which address
ss -tlnpIt means your browser tried to connect and the connection attempt was refused. The destination host answered, but no service accepted the connection on that port, or a firewall rejected it.
The development server is not running or is on a different port. Start it, read its output for the real port, and open that port. Also check whether it binds to 127.0.0.1 versus 0.0.0.0 if you access it from another device.
Sometimes. Test the site from another device and network. If it fails everywhere, the server is the cause. If it works elsewhere, check your proxy, VPN, security software and any hosts file entries.
Refused means something answered quickly with a rejection. Timed out means nothing answered, which typically points to a firewall that silently drops packets, a routing problem or a host that is down.
Yes. If the web server process stopped, the host refuses connections on ports 80 and 443. An uptime monitor that checks from outside will report this within minutes, and it is a strong sign that the service, not the network, failed.
Aepto checks your sites from up to six regions and alerts you when a connection fails.