Usually caused by: the website
What does 521 Web Server Is Down mean?
With 521 Cloudflare tried to connect to the origin server and was refused. Either no web server is running there, or a firewall rejects Cloudflare’s addresses.
This tends to happen when a security system mistakes the many requests from Cloudflare addresses for an attack and blocks them.
Is it me or the website?
It is the website’s server.
What you can do as a visitor
- Wait and try again later.
- Use our check to see whether all locations get the same error.
What you can do as the site owner
- Is the web server running? For example
systemctl status nginxorsystemctl status apache2. - Is it listening on ports 80 and 443? Check with
ss -tlnp. - Allow all of Cloudflare’s IP ranges in your firewall, Fail2ban and security plugins.
- After moving servers: is the IP address in Cloudflare’s DNS correct?