


Step 2: Whitelist all Cloudflare IP ranges in your server’s firewall If there’s a problem with your server and you’re not sure what’s going on, reach out to your host’s support (you can access Kinsta support from anywhere in your dashboard via the Intercom widget). Windows doesn’t have cURL installed by default and, while you can install it, a simpler way is to use Ke圜DN’s online HTTP Header Check tool.Īll you do is plug in, where 1.2.3.4 is the actual IP address of your server. If you’re on Mac or Linux, you can run this right from Terminal. To test this, you can run a cURL command. If it’s not, there’s no sense digging into further troubleshooting steps. Step 1: Test if the Origin Server is Onlineīefore going any further, you’ll want to make sure that your WordPress site’s server is online and functioning normally. Now that you know what’s happening, let’s dig into how to fix Error 521 in WordPress.

How to Fix Error 521 for Cloudflare and WordPress When that happens, Cloudflare won’t be able to connect and will display the Error 521 message instead.

As such, some security solutions will view high traffic from a limited number of IP addresses as an attack and block them. Because of how Cloudflare works, some server-side security solutions might inadvertently block Cloudflare’s IP addresses.īecause Cloudflare is a reverse proxy, all of the traffic coming to your origin server will appear as if it’s coming from a small range of Cloudflare IPs ( rather than each individual visitor’s unique IP address). Second, your web server might be running fine but blocking Cloudflare’s requests for some reason. Even if everything else is configured properly, if your WordPress site’s server is offline, Cloudflare simply won’t be able to connect. Typically, the Error 521 message is caused by one of two situations:įirst, your WordPress site’s server may be down. An example of the Error 521 message What Causes the Error 521 Message?
