Cloudflare Tunnel not working with IIS. ""Unable to reach the origin service"

Hi, I'm attempting to self-host an IIS web server localhost:8080 behind a CGNAT using a Cloudflare Tunnel connected to my registrar domain. While everything seems to be set up correctly in theory, I keep encountering the following error: "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 127.0.0.1:8080: connect: connection refused" connIndex=1 dest=https://mydomain.com/favicon.ico event=0 ip=19X.XX.XXX.XX type=http" My IIS Webserver Localhost:8080 port works with Ngrok, but not with Cloudflare for some reason.
No description
2 Replies
mathis5711
mathis571115h ago
You checked ur firewall rules ?
Rex Wellington
Rex WellingtonOP7h ago
Yep, my firewall is turned off. Other tunnels like Ngrok or Serveo work but not Cloudflare. Just so we are clear, all I am using is Docker and Command Prompt, using the Tunnel command line generated from Cloudflare with the settings pointing to my localhost:8080 on IIS. I am not using any other software other than this. Resolved. I don't know why, but specifying the IIS to listen to both 127.0.0.1 and also ::1 simultaneously and specifically, then it started working. Specifying only one or the other only did not work
Want results from more Discord servers?
Add your server