prometheus --web.listen-address=127.0.0.1:9090

Category: Monitoring & Observability

prometheus --web.listen-address=127.0.0.1:9090

Start Prometheus bound to localhost only

Restricts the web UI and API to the loopback interface so only local processes can reach port 9090. Useful for test instances or when a reverse proxy terminates TLS on the same host. The API is unauthenticated by default, so binding it to a public interface exposes full query and admin access.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.