I am running filebrowser docker container on my server which i want to access using cloudflare tunnel. Its running on -p 8080:80
Accordingly i have created a tunnel on cloudflare zero trust. The status is displayed as healthy. Then i added 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, i am getting host error on the website.
The cloudflare logs contains the following -
2023-08-11T18:18:44Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp: lookup filebrowser on 169.254.169.254:53: no such host" cfRay=7f527b9ae9c8f33f-BOM event=1 ingressRule=0 originService=http://filebrowser:80
2023-08-11T18:18:44Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp: lookup filebrowser on 169.254.169.254:53: no such host" connIndex=2 dest=https://fb.xd003.site/ event=0 ip=198.41.192.37 type=http
2023-08-11T18:18:44Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp: lookup filebrowser on 169.254.169.254:53: no such host" cfRay=7f527b9ccadaf33f-BOM event=1 ingressRule=0 originService=http://filebrowser:80
2023-08-11T18:18:44Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp: lookup filebrowser on 169.254.169.254:53: no such host" connIndex=2 dest=https://fb.xd003.site/favicon.ico event=0 ip=198.41.192.37 type=http
2023-08-11T18:18:45Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp: lookup filebrowser on 169.254.169.254:53: no such host" cfRay=7f527ba34eccf33f-BOM event=1 ingressRule=0 originService=http://filebrowser:80
2023-08-11T18:18:45Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp: lookup filebrowser on 169.254.169.254:53: no such host" connIndex=2 dest=https://fb.xd003.site/ event=0 ip=198.41.192.37 type=http
2023-08-11T18:18:45Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp: lookup filebrowser on 169.254.169.254:53: no such host" cfRay=7f527ba3af07f33f-BOM event=1 ingressRule=0 originService=http://filebrowser:80
2023-08-11T18:18:45Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp: lookup filebrowser on 169.254.169.254:53: no such host" connIndex=2 dest=https://fb.xd003.site/favicon.ico event=0 ip=198.41.192.37 type=http
ubuntu@xd003:~$
How do i resolve this issue