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]> wrote: >Hi, >Do i need to make any config changes so that I can access localhost? >Please >help > >-- >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/a9b3cb71-3a05-4838-a056-5810052cc4c2%40googlegroups.com. -- 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/B7B87F69-D088-42B0-B750-E9E4ABD362E5%40Jahingo.com.

