How to enable the port 27017

I have mongo db which is using the port 27017.
My Primary domain is connected with cloudflare (orange-cloud icon proxied).
But i cant access my mongodb in my primary domain, later i come to know those ports are not support by cloudflare from this link

https://support.cloudflare.com/hc/en-us/articles/200169156-Identifying-network-ports-compatible-with-Cloudflare-s-proxy

is any option to make mongodb works? please provide steps.

The port restrictions are the same for all plans, including Enterprise, so upgrading wouldn’t change this behavior.

Using Cloudflare, the options are mentioned in the link you posted:

If traffic for your domain is destined for a different port than listed above, either:

The unmentioned option is not using a hostname, instead connecting directly via IP to the mongodb instance.

1 Like

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