Cloudflare: the origin refused the connection.
Cloudflare returns 521 when the TCP connection to the origin was actively refused: nothing is listening on the port, or a firewall rejects Cloudflare's addresses.
ss -ltnp; allow all Cloudflare IP ranges in the firewall.| Header | Role |
|---|---|
CF-RAY | Request ID for troubleshooting. |
HTTP/1.1 521
Server: cloudflare
Content-Type: text/html