How do I ensure my origin server is accessible through Cloudflare when using a custom port?

Question

Grade: Education Subject: Support
How do I ensure my origin server is accessible through Cloudflare when using a custom port?
Asked by:
91 Viewed 91 Answers

Answer (91)

Best Answer
(407)
The most crucial step is to ensure the DNS record pointing to your origin server includes the custom port. For instance, if your origin server is at `192.0.2.10:8080`, your DNS record should point to this address. Configure the appropriate firewall rules on your origin server to allow traffic on the custom port from Cloudflare's IP ranges. Test by directly accessing your origin server through Cloudflare.