Home / Localhost / localhost:9090

localhost:9090: Prometheus and Cockpit

Port 9090 is Prometheus’s default and also used by Cockpit. How to open it and fix DOWN targets and conflicts.

localhost:9090 in a browser address bar reaches port 9090 on your computer, where Prometheus is running

Open this address: http://localhost:9090This opens on your own computer. It only works if the program is running.

localhost:9090 opens the Prometheus web page. On many Linux servers the Cockpit console uses the same port, which causes confusion.

What runs on localhost:9090

Commands to start and test port 9090

Start Prometheus
prometheus --config.file=prometheus.yml
Check it is healthy
curl http://localhost:9090/-/healthy
Docker
docker run -p 9090:9090 -v ./prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus
Reload the config (needs --web.enable-lifecycle)
curl -X POST http://localhost:9090/-/reload

Find what is using port 9090

Run these in a terminal on your computer. Nothing is sent to this site.

If localhost:9090 will not open

You see a Linux login page, not Prometheus
Cockpit uses port 9090 too. Start Prometheus on another port with --web.listen-address=:9091.
Targets show as DOWN
Prometheus cannot reach the target. Check the address, port and firewall in prometheus.yml.
Config reload returns 403
Start Prometheus with --web.enable-lifecycle to allow reloads.
Port 9090 is in use
Find the program with the tool below.

Other ports like 9090

PortUsually used by
localhost:11434Ollama (AI models)
localhost:5601Kibana
localhost:11501Not a standard port: check what is using it
localhost:9200Elasticsearch
localhost:5672RabbitMQ
localhost:15672RabbitMQ admin page
localhost:9229Node.js debugger

Questions about localhost:9090

What is port 9090?
Prometheus by default, and also the Cockpit web console on Linux.
How do I see my targets?
Open localhost:9090/targets in the browser.
Is localhost:9090 safe?
Yes while it stays on localhost. Tools like this often show sensitive data, so keep them off the public internet and put a login in front of them if other people can reach the port.
Can I use a different port instead of 9090?
Yes. Pick a free port above 1024, set it in the program, and open that number instead. If other programs connect to this port, change it there as well.
How do I check what is using port 9090?
Use the port checker on this page. It shows the command for Windows, macOS and Linux and does not send anything to this site.

Updated 2026-10-03

Free tools that help

Related pages