# Fix Cloudflare Error 522 – Connection Timed Out & Origin

Cloudflare error 522 "Connection timed out"? Origin server offline, wrong IP, firewall blocking Cloudflare, SSL mode – fix step by step.

**Quick answer:** Cloudflare 522: **make origin reachable** (web service running, correct A record IP), **don't block Cloudflare in firewall** and check **SSL mode** (Full).

**If you landed here:** Browser shows "Error 522 – Connection timed out" with Cloudflare branding – site or subdomain unreachable.

## 5-minute checklist

- Test origin by IP directly – is web server running?
- Cloudflare DNS: A record points to **current** server IP?
- Server online? nginx/Apache + PHP-FPM active?
- Test grey cloud (DNS-only) temporarily – does it work?
- SSL/TLS: Full (strict) if origin certificate exists

## Related

- [Set up Cloudflare DNS](/en/domain/cloudflare-dns)
- [Domain won't connect](/en/domain/domain-verbindet-nicht)
- [DNS troubleshooting](/en/domain/dns-troubleshooting)
- [Fix SSL errors](/en/domain/ssl-fehler-beheben)
*Products & ordering: [Register a domain](https://nexorahost.com/Domain) · Manage: [panel.nexorahost.de](https://panel.nexorahost.de) · [My account](https://nexorahost.com/account) · [nexorahost.com](https://nexorahost.com)*
