Zero Trust Tunnel Unable to reach the origin service

I am running filebrowser docker container on my server which i want to access with my domain using cloudflare tunnel. Its running on -p 8080:80 Accordingly, i installed cloudflare tunnel using docker on the same server and it went fine. In Acess->Tunnels, the status is displayed as healthy. So i went ahead adding a public hostname, added the subdomain and domain, set the type as http and set the url as filebrowser:80. Now when i am trying to acess this service through my domain, i am getting host error stating that the origin service is unreachable. I can very well access my Filebrowser instance through http://SERVERIP:8080. Wonder why cloudflare is always failing to route it through my domain The cloudflared docker logs contain the following : https://pastes.io/raw/cz00pr3vbr
2 Replies
Erisa
Erisa2y ago
Looks like the containers arent linked in order to access each other by hostname? https://docs.docker.com/network/drivers/bridge/#differences-between-user-defined-bridges-and-the-default-bridge or docker compose would do it automatically
xd003
xd003OP2y ago
Thanks for the heads up, running both the containers using docker compose solved the problem

Did you find this page helpful?