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