Web server is down 521

Reference guide

Request path

  1. You (reached)
  2. DNS (reached)
  3. Cloudflare edge (reached)
  4. Origin (not reached)

refused

Likely cause

Cloudflare could not connect to your origin server at all — the server process is down or not listening on the expected port.

What to do

  1. Check. Confirm your origin web server process is running and listening on the port Cloudflare is configured to use.
  2. Fix. Restart the origin web server process.
    sudo systemctl restart nginx
    sudo systemctl status nginx
  3. Verify. Retry the request through Cloudflare and confirm the site loads.

Back to error lookup