- Home
- Tools
- Developer Tools
- HTTP Status Codes
- 521 Web Server Is Down
521 Web Server Is Down
Cloudflare tried to connect to the origin server and was refused. The web server is not running, or it is blocking Cloudflare.
- Class
- Unofficial codes. Not in the IANA registry. These are made up by one piece of software and mean nothing outside it, but they turn up in logs and on error pages often enough.
- Used by
- Cloudflare
What causes it
When the connection from Cloudflare to the origin is actively refused. Either nothing is listening, because the web server stopped or crashed, or a firewall or security tool on the origin rejects the addresses that Cloudflare connects from.
What to do about it
As a visitor: nothing but waiting.
As the owner: check that the web server is running, and then that the firewall allows the IP ranges of Cloudflare, which Cloudflare publishes. Tools that block an address after many requests are a known cause, because to the origin all visitors seem to come from Cloudflare.
Not to be confused with
| 522 Connection Timed Out | No refusal: the connection attempt went unanswered. |
|---|---|
| 523 Origin Is Unreachable | Cloudflare could not reach the origin at all. |
| 503 Service Unavailable | The origin answered that it is unavailable. |
All codes are on the list of HTTP status codes, which can be searched by number and by word.