prometheus --web.listen-address=:9090

Category: Monitoring & Observability

prometheus --web.listen-address=:9090

Start Prometheus bound to a specific address

Sets the address and port the web UI and API listen on, defaulting to 0.0.0.0:9090 on all interfaces. Bind to 127.0.0.1:9090 to keep the API private. Combine with --web.external-url when serving behind a reverse proxy.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.