Port 9090: Prometheus

Port 9090 (TCP) is used by Prometheus. Prometheus server web UI and API (unofficial use).

9090Port
TCPProtocol
websmIANA service name
DevOps & dev serversCategory

Port range

9090 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.

Security

Only open port 9090 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.

Open port 9090 in a firewall

ufw         sudo ufw allow 9090/tcp
iptables    sudo iptables -A INPUT -p tcp --dport 9090 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=9090/tcp
Windows     New-NetFirewallRule -DisplayName "Prometheus 9090" -Direction Inbound -Protocol TCP -LocalPort 9090 -Action Allow

Check if port 9090 is open

nc -vz example.com 9090
Test-NetConnection example.com -Port 9090   # PowerShell
sudo ss -tulpn | grep ':9090 '   # what is listening locally (Linux)

Other devops & dev servers ports

Frequently asked questions

What is port 9090 used for?
Prometheus. Prometheus server web UI and API (unofficial use).
Is port 9090 TCP or UDP?
TCP.