Error 502 on a Service

What is the name of the domain?

npm.anthonyenglish.com

Related to

Cloudflare Tunnel

What is the error number?

502

What is the error message?

JSON { “connIndex”: 2, “originService”: “http://192.168.1.197:81”, “ingressRule”: 27, “error”: “Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp 192.168.1.197:81: connect: connection refused” }

What is the issue you’re encountering

Have not changed anything. But the service has stopped resolving and I get the Cloudflare 502 error.

What steps have you taken to resolve the issue?

I tried reinstalling the service on my Synology NAS. Also, deleting and re-adding the public host name in Cloudflare.

It doesn’t appear to be the tunnel, but your application.

This error indicates that no application / service is listening for queries on port 81, on the IP address 192.168.1.197, which is the destination that the tunnel is trying to access.

I will therefore suggest you to check the application / service you’re pointing the tunnel towards.

  1. Verify that the application / service is started, and doesn’t error out / crash.

  2. Verify that the application / service is listening on port 81, on the IP address 192.168.1.197.

1 Like