
I self-hosted Grafana with Prometheus — localhost:9090 was the wrong URL
I wanted host metrics on a private VPS without a SaaS bill. Grafana came up on HTTPS; Save & test on the Prometheus data source failed until I used http://prometheus:9090 on the Compose network, not localhost. After that, node_exporter targets showed UP.
Aug 28, 2026 · 4 min read