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
}
{
"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 :/
5 Replies
ytty #5713
ytty #5713OP4d ago
i just tried with minecraft and even that doesnt work :/ so i doubt that its the server sry i should have mentioned this, i already tried this, same error
Sem
Sem4d ago
is port 3000 open?
ytty #5713
ytty #5713OP4d ago
so i finally found a fix host.docker.internal:3000 i run the open webui via docker, that was the problem
Sem
Sem4d ago
Oh good! Awesome!
ytty #5713
ytty #5713OP4d ago
now the minecraft tcp tunnel -___-

Did you find this page helpful?