Point subdomain to ip and separate port

#1

I have two application one running on port 80 to handle http requests and the second on port 3000,
how can i route a sub domain to my server ip with port 3000 like

1.2.3.4:3000

application is accessible by ip and port.

#2

As long as you dont try to route it over Cloudflare you can point to that IP/port combination just like as with any regular URL. That wouldnt be really Cloudflare related however.

#3

Cloudflare allows certain ports.

Also you can use a reverse proxy on your server to forward app.mydomain.com to localhost:3000.

#4

I can start application one of those ports, but how to point to those ports?

#5

As you do when you are not behind Cloudflare: yourdomain:port.

#6

As I mentioned before, just like as with any other URL. That is rather a web design question than related to Cloudflare.