ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersโ€ข3y agoโ€ข
3 replies
cobalt

Cloudflare Tunnels - Connection Refused

Hello. I am running a code server on a Linux VPS within Docker, I have made a tunnel pointing to the server's localhost:8443 and cloudflare reports the tunnel as healthy. However, when I attempt to access the tunnel via its URL, the 502 Bad Gateway page shows up. However, if I peek into my cloudflared's docker logs, it reports that the connection has been refused.

2023-09-16T09:38:33Z ERR  error="dial tcp 127.0.0.1:8443: connect: connection refused" cfRay=8078231e5d2f55ea-LHR event=1 ingressRule=0 originService=tcp://localhost:8443
2023-09-16T09:38:33Z ERR Request failed error="dial tcp 127.0.0.1:8443: connect: connection refused" connIndex=0 dest=https://code.cobaltonline.net/ event=0 ip=198.41.192.77 type=http
2023-09-16T09:38:33Z ERR  error="dial tcp 127.0.0.1:8443: connect: connection refused" cfRay=8078231f881055ea-LHR event=1 ingressRule=0 originService=tcp://localhost:8443
2023-09-16T09:38:33Z ERR Request failed error="dial tcp 127.0.0.1:8443: connect: connection refused" connIndex=0 dest=https://code.cobaltonline.net/ event=0 ip=198.41.192.77 type=http
2023-09-16T09:38:33Z ERR  error="dial tcp 127.0.0.1:8443: connect: connection refused" cfRay=807823208a3d55ea-LHR event=1 ingressRule=0 originService=tcp://localhost:8443
2023-09-16T09:38:33Z ERR Request failed error="dial tcp 127.0.0.1:8443: connect: connection refused" connIndex=0 dest=https://code.cobaltonline.net/ event=0 ip=198.41.192.77 type=http
2023-09-16T09:38:33Z ERR  error="dial tcp 127.0.0.1:8443: connect: connection refused" cfRay=8078231e5d2f55ea-LHR event=1 ingressRule=0 originService=tcp://localhost:8443
2023-09-16T09:38:33Z ERR Request failed error="dial tcp 127.0.0.1:8443: connect: connection refused" connIndex=0 dest=https://code.cobaltonline.net/ event=0 ip=198.41.192.77 type=http
2023-09-16T09:38:33Z ERR  error="dial tcp 127.0.0.1:8443: connect: connection refused" cfRay=8078231f881055ea-LHR event=1 ingressRule=0 originService=tcp://localhost:8443
2023-09-16T09:38:33Z ERR Request failed error="dial tcp 127.0.0.1:8443: connect: connection refused" connIndex=0 dest=https://code.cobaltonline.net/ event=0 ip=198.41.192.77 type=http
2023-09-16T09:38:33Z ERR  error="dial tcp 127.0.0.1:8443: connect: connection refused" cfRay=807823208a3d55ea-LHR event=1 ingressRule=0 originService=tcp://localhost:8443
2023-09-16T09:38:33Z ERR Request failed error="dial tcp 127.0.0.1:8443: connect: connection refused" connIndex=0 dest=https://code.cobaltonline.net/ event=0 ip=198.41.192.77 type=http
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Cloudflare Tunnels
Cloudflare DevelopersCDCloudflare Developers / general-help
12mo ago
CloudFlare Tunnels
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
Cloudflare Tunnels
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
Cloudflare tunnels
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago