Cloudflare Tunnel resolve to localhost:port

I have a Raspberry Pi server I travel with and then plug in to the home network or office network where I find myself. I have it setup for DDNS but the localhost IP is dictated by the network I plug into. I would like to tunnel to my services localhost:port. Is this possible or is there a work around?

You should look at tunnels

I am using Cloudflare tunnels, (Sorry Argo was a slip.) When I try and use localhost:port I get 404 error but when I put the local IP and port of the services it works fine. I am also using http. Why does localhost not work?

Is the application configured to support localhost as a domain? Some will throw a 404 if it configured host isn’t correct.

1 Like

I got it sorted. Thanks.

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