Prometheus server web UI and HTTP API. Cockpit (Linux web console) also uses 9090.
Prometheus server web UI and HTTP API. Cockpit (Linux web console) also uses 9090.
Do not expose to the internet. Prometheus has no built-in authentication by default; an exposed server leaks hostnames, internal IPs and metrics, and the admin API can delete data if enabled. Keep it internal or add a reverse proxy with auth.
sudo ss -tlnp 'sport = :9090'sudo lsof -nP -i :9090sudo netstat -tlnp | grep ':9090 'netstat -ano | findstr :9090Get-NetTCPConnection -LocalPort 9090 -State Listen | Select LocalAddress,OwningProcessnc -vz -w 5 HOST 9090Test-NetConnection HOST -Port 9090sudo ufw deny 9090/tcpsudo iptables -A INPUT -p tcp --dport 9090 -j DROPsudo nft add rule inet filter input tcp dport 9090 dropNew-NetFirewallRule -DisplayName 'Block TCP 9090' -Direction Inbound -Protocol TCP -LocalPort 9090 -Action BlockAll port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.