I am trying to do a proof of concept within my team. I have Prometheus setup as a standalone service in a VM. I am able to got to localhost:9090 and move freely through the UI - graph, status, alerts, etc. I am also able to curl the metrics page and get a list of metrics. The issue I’m having is I get a permission denied error when trying to scrape metrics from my targets (localhost:9090/targets), including the same Prometheus instance.
The specific error message I get is “Get “http://localhost:9090/metrics”: dial tcp [::1]:9090: connect: permission denied”.
Does anyone know where this error message originates from?