Prometheus refusing to scrape — connection refused
admin20 Apr 2026, 13:00
Prometheus is logging "connection refused" trying to scrape the scanner's /metrics endpoint on 127.0.0.1:9358. The endpoint works with curl. Permissions issue?
1 comment
Transcom
20 Apr 2026, 14:30
Prometheus config had localhost — needed to bind to 127.0.0.1 explicitly. Also regex chars needed double-backslash escaping in the relabel config.
1 comment
Sign in with your TDesk account to comment.