Pointing Domain to Public IP with Port Number

I need to point my domain to a dedicated server that has public IP, but I want to connect to a specific port. I can use one of the ports listed by Cloudflare. however, I always get an error “Valid IPv4 address is required” every time I put the IP address with its port number.

You don’t need the port number, Cloudflare’s edge listens on port 2052 and then will connect to your origin on port 80 (there is a managed rule to listen only on ports 80 and 443, but that’s disabled by default).

If you want to change the port the Cloudflare proxy connects to on your origin, you can do that in the origin rules.

2 Likes

Hi sjr, thank you for your response. I think I understand the mechanism now.

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