Port 9090: Prometheus server web UI and API, Cockpit web console
IANA registers 9090 as websm (WebSM). The Prometheus server serves its expression browser and its own metrics on localhost:9090 in the getting started guide, and the Cockpit Linux administration console is reached at https://host:9090 with system user accounts.
Updated
Port Details
- Port
- 9090
- Transport
- TCP
- Service
- Prometheus / Cockpit
- IANA service name
- websm
- Range
- User port (1024-49151)
Related Ports
Security Exposure
The Prometheus security model presumes that untrusted users with access to the HTTP endpoint can read all time series in the database and a range of operational and debugging information. Cockpit on the same port logs in with system user accounts and passwords, so an exposed console accepts login attempts against those accounts.
Hardening
- Restrict 9090 to monitoring and administration networks with host or network firewalls.
- Configure TLS and basic authentication or client certificates through the Prometheus web configuration file.
- Leave the Prometheus admin API (--web.enable-admin-api, disabled by default) and the --web.enable-lifecycle endpoints off unless required.
- Limit Cockpit access to administrators and avoid exposing it to the internet.
Monitoring
Review reverse proxy or web logs for queries from unexpected clients, and alert on failed logins to Cockpit. Track hosts that newly expose 9090.
Prometheus / Cockpit Vulnerabilities
1 CVEs| CVE | Title | Vendor | CVSS | EPSS | KEV | Published |
|---|---|---|---|---|---|---|
| CVE-2026-4631 Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection | Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection | Red Hat | 9.8 | 15.5% | 2026-04-07 |
Frequently Asked Questions
What is port 9090 used for?→
It is the default port for the Prometheus server and for the Cockpit web console. IANA's registration is websm.
Does Prometheus have authentication on port 9090?→
Prometheus supports TLS and HTTP basic authentication through its web configuration file. Its security model assumes untrusted users with HTTP access can see all metrics, so access should be restricted.
Is port 9090 TCP or UDP?→
Prometheus and Cockpit both use HTTP over TCP. IANA lists both transports for websm.
Which vulnerabilities affect the service on port 9090?→
This database lists 1 CVE related to Prometheus / Cockpit, 0 of them confirmed as exploited by CISA. Examples: CVE-2026-4631.
Port assignments from the IANA Service Name and Transport Protocol Port Number Registry. Services can be configured to run on any port, so traffic on port 9090 is not guaranteed to be Prometheus / Cockpit. Exploited-in-the-wild data from the CISA KEV catalog (CC0).