Proxy does not work with www.example.com:8080/name type URL

“A” Record with name: www, and proxy turned on is not functioning for URLs like:

https://www.example.com:8080/site

Error in java client on attempt to connect when proxy is toggled on:
[www.example.com/104.26.4.55, www.example.com/172.67.75.147, www.example.com/104.26.5.55]

However “A” record does work for URLs without port number and proxy on, e.g.: https://www.example.com/help

How can I get URLs with port number specified (not default port 443) to work with proxy on?

NOTE: Also tried with CNAME record with name “www”, same behavior, works for URL like: https://www.example.com:8080/site, only when proxy is turned off.

I need proxy turned on for redirect rules.

Any suggestions would be appreciated.

Welcome to the Cloudflare Community. :logodrop:

Your are correct in your observation that you are unable to proxy HTTPS traffic through port 8080. The Cloudflare proxy will pass HTTP traffic on port 8080.

You will need to use a supported port. See the following for more detail.

2 Likes