My traffic is in diffirent http port

I want to use Cloudflare but my your traffic is on a different HTTP port that Cloudflare don’t support and it’s impossible to change it so please there is any method to add this port on Cloudflare

1 Like

If you dont proxy it you can choose whatever port you wish. If you want to proxy it you can only pick from the supported ports.

2 Likes

sandro I really apperciate your answer, but please can you explain more I don’t get it, what should I do exactly

The primary question is do you want your domain proxied or not?

What port # are you trying to proxy?

Yes I want to proxied, the port is 25461

Then you need to choose a different port as I mentioned at the beginning.

I assume you’ve already seen this article

As stated there, the only way to proxy other ports (and non-HTTP/S traffic) is to upgrade to an Enterprise plan.

2 Likes

If my domain don’t be proxied so anyone could know the server ip and attack me

Technically yes. If it isnt proxied the host resolves to your actual address.

Please there is not ay way to solve this problem, for exemple redirect my clients to the new port or something like that pleaseee

Cloudflare does not provide any services on that port unless you’re on the Enterprise plan.

You could redirect 80 or 443 to the origin on a different port using Workers. https://developers.cloudflare.com/workers/

4 Likes

Or hardcore: (assuming the clients don’t rely in port 25461) redirect the traffic locally with iptables / Windows Firewall. But i’d prefer and recommend using workers as well.

When you way “redirect”, do you mean use Workers to listen on Port 80/443, but manually route all traffic to the server on port 25461?

I’m thinking that using Workers as a Spectrum-like handler would be resource intensive.

Could still pull from cache for anything which is normally cached.

1 Like

It works though. I have it implemented and working.

1 Like

Is that a high-traffic site? And how’s the billing worked out?

Not a high traffic site, but still a few million requests a month. Still within the limit of the standard Workers.

Simply one request per standard request. The best option would be switching the service’s port. Second putting a reverse proxy in front (be it in the same server on on a different one). Third Workers (may not work on all kind of requests and you need to handle all kind of requests).

2 Likes