Remote Managed Tunnel Will not connect

What is the name of the domain?

non

What is the error message?

{“level”:“error”,“event”:0,“ip”:“198.41.192.37”,“connIndex”:0,“error”:“DialContext error: dial tcp 198.41.192.37:7844: connectex: No connection could be made because the target machine actively refused it.”,“time”:“2024-07-04T08:27:40Z”,“message”:“Unable to establish connection with Cloudflare edge”} {“level”:“error”,“event”:0,“ip”:“198.41.192.37”,“connIndex”:0,“error”:“DialContext error: dial tcp 198.41.192.37:7844: connectex: No connection could be made because the target machine actively refused it.”,“time”:“2024-07-04T08:27:40Z”,“message”:“Serve tunnel error”} {“level”:“debug”,“connIndex”:0,“event”:0,“ip”:“198.41.200.233”,“available”:19,“time”:“2024-07-04T08:27:40Z”,“message”:“edge discovery: giving new address to connection”} {“level”:“info”,“event”:0,“ip”:“198.41.192.37”,“connIndex”:0,“time”:“2024-07-04T08:27:40Z”,“message”:“Retrying connection in up to 2s”} {“level”:“debug”,“connIndex”:0,“event”:0,“ip”:“198.41.200.233”,“time”:“2024-07-04T08:27:42Z”,“message”:“edge discovery: returning same edge address back to pool”} {“level”:“error”,“event”:0,“ip”:“198.41.200.233”,“connIndex”:0,“error”:“DialContext error: dial tcp 198.41.200.233:7844: connectex: No connection could be made because the target machine actively refused it.”,“time”:“2024-07-04T08:27:43Z”,“message”:“Unable to establish connection with Cloudflare edge”} {“level”:“error”,“event”:0,“ip”:“198.41.200.233”,“connIndex”:0,“error”:“DialContext error: dial tcp 198.41.200.233:7844: connectex: No connection could be made because the target machine actively refused it.”,“time”:“2024-07-04T08:27:43Z”,“message”:“Serve tunnel error”} {“level”:“debug”,“connIndex”:0,“event”:0,“ip”:“198.41.200.23”,“available”:19,“time”:“2024-07-04T08:27:43Z”,“message”:“edge discovery: giving new address to connection”} {“level”:“info”,“event”:0,“ip”:“198.41.200.233”,“connIndex”:0,“time”:“2024-07-04T08:27:43Z”,“message”:“Retrying connection in up to 4s”} {“level”:“debug”,“connIndex”:0,“event”:0,“ip”:“198.41.200.23”,“time”:“2024-07-04T08:27:43Z”,“message”:“edge discovery: returning same edge address back to pool”}

What is the issue you’re encountering

Can not connect Tunnel to Cloudflare

What steps have you taken to resolve the issue?

Re-installed cloud flared, generated new token etc.

What are the steps to reproduce the issue?

Set up a new remote managed windows tunnel. Register the service, then the tunnel does not connect

Hi there,

The error you are facing means that the cloudflared cannot connect to our Edge. This could be for a couple of reasons.

Was this tunnel ever working before?

The first reason could be related to the version of Cloudflared you are using. Could you try updating the version of cloudflared you are using to the latest one - there was a new release: Downloads · Cloudflare Zero Trust docs

Can you also make sure that you are allowing egress on your server on the port 7844?
The port is open on our side, so there shouldn’t be a problem connecting there.

If the issue persist, could you raise your Cloudflare Tunnel logs to level debug and open a ticket with cloudflare where you’d be able to share with us the logs?

Thank you