Using Consul over the network via .net core

I want to connect to Consul (version consul_1.7.2_windows_amd64) running on a separate machine. I am using .net core 3.1 with Consul nuget package(v
I am using the following code but it is not working:-
ConsulClientConfiguration Config = new ConsulClientConfiguration();
Config.Address = new Uri(@“”);

            var client = new ConsulClient(Config);
            var kv = client.KV;

Please assist

Hello @persepherone,

Welcome to the Forums, and thanks for joining! I did some digging around on that NuGet package, and it looks like it is created by a company external to HashiCorp. I found this by looking up the Consul Nuget Package. The package source code points to this repo.

I am not sure if anyone else is using this specific package, but you may want to reach out on the Consuldotnet Issues Page.

As for your code - what is it you’re trying to do? Are you trying to make a Consul aware application,?

I hope you’re able to get a response from G-Research, and hopefully my reply finds others who have used this package.

Good Luck,

I think the address that you have to specify in the ConsulClientConfig should point at Consul running on that separate machine. Perhaps try something like “” for the Uri.