I installed WordPress on my Ubuntu droplet and activated Cloudflare SSL.

Now when I am trying to go to the site, the site is, as usual, redirecting to https version but is returning error 521. How do I rectify this error?


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

CloudFlare provides this troubleshooting document for 521 errors. The most common reason for this error is if your web server process is not running or listening on the expected port. See if you can access your web server directly by the IP just in case.

Submit an Answer