Which ports will Cloudflare work with?

Cloudflare can only proxy traffic going over the HTTP/HTTPS ports listed below.

If your traffic is on a different port, you should create a subdomain and then add it as a record in your Cloudflare DNS zone file as something we don't proxy (gray cloud = no Cloudflare proxy or caching on a record).

The HTTP ports that Cloudflare support are:
80
8080
8880
2052
2082
2086
2095

The HTTPs ports that Cloudflare support are:
443
2053
2083
2087
2096
8443

For the Pro plan and above, you can block traffic on ports other than 80 and 443 using WAF rule id 100015: "Block requests to all ports except 80 and 443".

Ports 80 and 443 are the only ports:

  • For HTTP/HTTPS traffic within China for zones that have the China Network enabled
  • For Cloudflare Apps to be able to proxy on
  • Where Cloudflare Caching is available 
Not finding what you need?

95% of questions can be answered using the search tool. This is the quickest way to get a response.

Powered by Zendesk