Skip to content
Free tool

521 Web Server Is Down (Cloudflare)

Cloudflare couldn't connect to your origin server at all.

Why it happens

  • The web server process is stopped.
  • A firewall blocking Cloudflare's IP ranges.
  • The origin's IP address changed.

What to do

  • Make sure the origin is running and allows Cloudflare's IPs. Check the DNS record Cloudflare uses for the origin.

In monitoring

Counts as down. If two checks in a row see it, you're alerted with this code as the cause.

Catch the next 521 before a customer does.

heyUptime checks your site every 30 seconds, confirms a failure before alerting, and tells you the code and the likely reason.

Start watching free

All status codes · Not sure what your site returns right now? Check it.

Next time, be the first to know.

Let someone else watch the shop. If anything breaks, you will hear it from us, not from a customer.

Start your 14-day free trial No credit card needed