AWS EC2 + Cloudflare


I have created an EC2 instance on AWS and pointed my domain with Cloudflare to it. But now I keep getting this error:

Error 522

Connection timed out

Browser: working
Cloudflare: working
Host: Error

I am very new to this, but I understand that the error comes from the EC2 instance. However, can anyone explain to me why is this happening and how could I fix it please?

Thank you very much!

Please have a read here:

This explains why Errors like 522 are happening. Also this is not fixable from Cloudflare-Side but you have to configurate your EC2 to accept TCP connections from Cloudflare

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.