522 error DNS A record

Hello everyone,

I have a web app that is running fine on the http IP address :port(front). I recently added an A record to my DNS records with “@” pointing to that IP address. However, when I try to access my website using my domain name I get a 522 error.

I have run some tests and there don’t seem to be any issues with the communication between my server and Cloudflare. However, I did notice that there is a difference between the IP address of my instance and the IP addresses to which my domain is pointing. I checked other websites that use Cloudflare and it is normal to have those two IP addresses when using Cloudflare I think (,

Can someone please help me fix this 522 error? I am not sure what I am doing wrong.

Thank you.

Have you tried: