Consul KeyValue in Kubernetes Deployment

I have a consul namespace with consul installed and another namespace with a deployment with connect-inject which used to use the consul kv store to get the keys.

But it just says:
Unhandled exception. System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:8500)

Deplyoment annotations:
template:
metadata:
annotations:
consul.hashicorp.com/connect-inject: “true”

need some help with it, how can i make it run