How to enable gRPC for Zeebe connection?

HI, I am using C# Zeebe Client for external task now, but return : Status(StatusCode=“Unavailable”, Detail=“failed to connect to all addresses”. Anyone know how to fix it? I am sure I enter correct Zeebe Url(Camunda IP).

C# Zeebe Client : Zeebe C# Client: The Zeebe C# client documentation

Error I got:

Grpc.Core.RpcException: ‘Status(StatusCode=“Unavailable”, Detail=“failed to connect to all addresses”, DebugException=“Grpc.Core.Internal.CoreErrorDetailException: {“created”:”@1635479687.942000000",“description”:“Failed to pick subchannel”,“file”:“…....\src\core\ext\filters\client_channel\”,“file_line”:3159,“referenced_errors”:[{“created”:“@1635479687.942000000”,“description”:“failed to connect to all addresses”,“file”:“…....\src\core\lib\transport\”,“file_line”:147,“grpc_status”:14}]}")’

I have the same problem. I managed to connect to cloud, but it doesn’t work on localhost (docker compose installation) with a basic example.

            var zeebeClient =
                        .UseLoggerFactory(new NLogLoggerFactory())

            var topology = await zeebeClient.TopologyRequest().Send();

Zeebe Broker is up and running on

Do I need to do anything else to make this work?

I got it.

On Windows, instead of .UseGatewayAddress("") it must be .UseGatewayAddress("")