I’m trying to integrate Consul/Registrator service discovery with Tyk(via Docker). My Consul query endpoint is http://consul:8500/v1/catalog/service/payments.api, but when i try to use the Tyk API debugging to test, the tyk gateway is returning an error of “time=“Aug 15 03:27:29” level=error msg=“http: proxy error: dial tcp 172.21.0.6:80: connect: connection refused” api_id=f822b3dfae634c82713e173042a0d082 org_id=5d510af9070fb30001952174 server_name=“172.21.0.6:80” user_id=”****042a" user_ip=192.0.2.1 user_name= ".
If i try to curl the consul endpoint from the tyk gateway, it is returning the list of services correctly. But if from the Tyk dashboard, error, and getting a “There was a problem proxying the request”.
Able to advise? Thanks