The initial connection between Cloudflare’s network and the origin web server timed out. As a result, the web page can not be displayed.
What is the issue you’re encountering
I can visit the website using ip and port, but I can not reach it with domain
What steps have you taken to resolve the issue?
For some reason, although I have applied for public ipv4 and ipv6, the 443 and 80 port is banned. So I am using nginx proxy manager(docker version, http port 2095, https port 2096), and I have successfully apply for the cert using Let’s Encrypt. I opened those two ports in firewall, and set a port reflection in my router. So the 2095,2096 port is exposed to the public web. Then I use ddns-go to automatically create dns record in cloudflare. I am sure I have enabled the CDN(orange cloud) and set the origin rule: rewrite port to 2095(2096 is also tried), but I can’t reach the website with the domain and even the doamin and the port, while I do can visit the website using the ipv6 or ipv4 address and port.
Thanks for your help! But unluckily, I have tried to pause cloudflare. Although the origin rule didn’t work for this reason, but I can visit the website using port number. I tried to skip nginx proxy manager and it works. But if I skip it for all the service I will have to create too many port reflection and origin rules. I think there must be something wrong with nginx proxy manager but I don’t know what it is exactly. I know it has nothing to do with cloudflare, but I am still wondering if there is someone willing to help me. PS: the config of nginx proxy manager(npm in following): I only set 1 proxy currently, it is a proxy to 1212 port(http). The cert in npm is valid, the port is accessible using ipv6 or ipv4, and the port rewrite is working.
Also take into account that only the following ports work with Cloudflare - Network ports · Cloudflare Fundamentals docs. If you use any other, you need to set up a rule to redirect the port, or you can alternatively use Cloudflare Tunnel.