I have a gateway on Docker Web Service with Krakend. This have 1 endpoint /healthz and proxy the /healthz path of 3 microservices on Docker Private Web Service and merge the response. In local works fine but in Render.com throws an error on Krakend:
Get "http://microservice-1:3001/healthz": dial tcp 10.202.18.181:3001: connect: connection refused Get "http://microservice-2:3002/healthz": dial tcp 10.202.18.181:3002: connect: connection refused Get "http://microservice-3:3003/healthz": dial tcp 10.202.18.181:3003: connect: connection refused
microservice-n:300x is the host and the port of render gives me to connect.
On local, i fix this using the public IP of my machine and not de host “localhost”.
How can i fix this in Render.com?