Does Cloudflare 521 mean Cloudflare is down?
Usually not. It means the configured origin refused Cloudflare's connection, so verify the origin listener and its network policy first.
Cloudflare · HTTP 521
Troubleshoot Cloudflare 521 when an origin refuses TCP connections. Check service listeners, host firewalls, security groups, and Cloudflare source allowlists.
Origin / Network Firewall
Paste a captured HTTP response or enter a status and headers. Only the status and response headers are sent; common credential headers are filtered first.
Diagnostic report
Error code / name
Fault domain
Origin / Network FirewallThe origin actively refused Cloudflare's connection, commonly because the web service is stopped, listens on a different port, or a host firewall rejects the connection.
The origin actively refused Cloudflare's connection, commonly because the web service is stopped, listens on a different port, or a host firewall rejects the connection.
Client -> Cloudflare Edge -> SYN -> Origin:443 -> RST / reject -> Xcurl -sS -v -I --connect-timeout 5 --max-time 15 --resolve example.com:443:ORIGIN_IP https://example.com/healthserver {
listen 443 ssl;
server_name example.com;
location /health { return 200 "ok\n"; }
}SteadyNode's regional probes detect refused connections from multiple networks, helping separate a stopped origin from a single-region routing or firewall failure.
No credit card required.
Start for freeUsually not. It means the configured origin refused Cloudflare's connection, so verify the origin listener and its network policy first.
No. Keep the origin restricted and allow only the provider's published egress ranges when the proxy is the intended source.