Thanks for replying Stuart. Even if I use service DNS, i can't access any 
API inside the pushgateway container. Below is the command. I get 404.
wget http://eaa-platform-pushgateway:9091/api/v1/status

On Wednesday, April 29, 2020 at 11:50:30 AM UTC+5:30, Stuart Clark wrote:
>
> When you are running an application inside a container "localhost" refers 
> to the container, not the underlying host. You will need to use a different 
> method to reference other pods, such as a service DNS name. 
>
> On 29 April 2020 07:09:56 BST, Nidhi Sharma <[email protected] 
> <javascript:>> wrote:
>>
>> Hi,
>> Do i need to make any config changes so that I can access localhost? 
>> Please help
>>
>>
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/d7aa2e7c-cb79-4fc8-97fe-20d31e3aab2a%40googlegroups.com.

Reply via email to