bad gateway with cloudflare tunnel, tried multiple services with same error NOT SOLVED

so just for fun I got a domain, now I'm trying to expose local server to this domain via cloudlflare tunnels, I followed the guides on the site step by step but I keep getting:
{
  "originService": "http://localhost:3000",
  "ingressRule": 0,
  "error": "Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3000: connect: connection refused",
  "connIndex": 3
}

trying to connect via the domain.

I'm not quite sure if its the tunnel or the server (I can use it fine locally), Cloudflare seems to indicate that everything is healthy. as for the server: currently I'm trying to do open webui (I haven't done anything on webui's side), I'm going to try Minecraft later today.

right now I go to zero trust > network > tunnels > create tunnel > enter name > run docker command locally > enter domain sub and domain name > enter service > HTTP, localhost:3000.

i hope someone can help me with this :/
Was this page helpful?