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 0.7.2.6).
I am using the following code but it is not working:-
ConsulClientConfiguration Config = new ConsulClientConfiguration();
Config.Address = new Uri(@“http://127.0.0.1”);

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

Please assist