Mask web application ipaddress:port with domain name

I have a node js web application running on static ipaddress woith port 4000. I can access my application on the internet successfully using port forwarding in router, now i want to mask my public ipaddress+port with a domain name. By that, I have obtained a domain name in freenom and use Cloudflare to create DNS record, it went smooth if my web application is running in port 80 and I can’t change it to 4000, port 80 is already occupied in our local server. What will I do to achieve my goal.

This is my Cloudflare DNS record

I use Cloudflare Tunnel for situations such as this:

https://developers.cloudflare.com/cloudflare-one/connections/connect-apps

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