HTTPS connection on non-standard port?

Hello,

I’m using a couple of apps that default to port 5001 when connecting to a specific service.

I would like to put that service behind cloudflared but I’m unsure if that is supported in the “ingress” settings in the configuration file.

The service is also listening on port 5001 internally and if I just create a simple service like this:

  - hostname: nas.xyz.com
    service: https://192.168.0.22:5001

I can connect to it using a web browser.

But the IOS apps seem to be hardcoded to connect to port 5001 and they don’t work.

Can I tell the ingress to listen to a specific port?

Thanks!