Port 9090 (Prometheus)
TCPPrometheus Monitoring — Prometheus listens on port 9090 by default.
What is Port 9090?
Port 9090 is the default port for Prometheus, the popular open-source monitoring and alerting toolkit. Prometheus is widely used in cloud-native environments and Kubernetes clusters for metrics collection and monitoring.
Prometheus on port 9090 provides a web interface for querying collected metrics using PromQL, viewing graphs, and managing alerts. Prometheus scrapes metrics from configured targets at regular intervals, storing them in a time-series database. Grafana typically connects to Prometheus on this port for dashboarding.
Prometheus on port 9090 has no built-in authentication. Restrict access using network policies and reverse proxy with authentication. The metrics data can reveal sensitive information about infrastructure, application performance, and system resources.
Port 9090 Security
Prometheus on port 9090 should be secured with appropriate access controls and monitoring. Ensure the service is only accessible from trusted networks by configuring firewall rules to restrict access. If the protocol supports encryption, enable TLS/SSL to protect data in transit.
Regularly update Prometheus to the latest version to patch known vulnerabilities. Monitor port 9090 for unauthorized access attempts and implement rate limiting where possible. Follow the principle of least privilege when configuring access permissions.
How to Check Port 9090
To check if port 9090 is open on a remote host, use nmap: 'nmap -p 9090 hostname'. For a quick TCP connection test, use: 'telnet hostname 9090' or 'nc -zv hostname 9090'. On Windows PowerShell, use: 'Test-NetConnection -ComputerName hostname -Port 9090'.
To check if port 9090 is listening on your local machine, use: 'netstat -tlnp | grep 9090' on Linux, or 'ss -tlnp | grep 9090'. On Windows, use: 'netstat -an | findstr 9090'. For a comprehensive scan, use: 'nmap -sV -p 9090 hostname' to detect the service version running on the port.
Related Ports
Frequently Asked Questions
What is port 9090 used for?
Port 9090 is the default port for Prometheus Monitoring (Prometheus). It is used for prometheus communication using the TCP protocol.
Is port 9090 TCP or UDP?
Port 9090 uses TCP. TCP is used because prometheus requires reliable, ordered data delivery.
Should port 9090 be open?
Port 9090 should only be open if you are actively running Prometheus. Close unused ports to reduce your attack surface. If needed, restrict access to trusted IP addresses using firewall rules.
How do I check if port 9090 is open?
Use 'nmap -p 9090 hostname' to scan remotely, or 'netstat -tlnp | grep 9090' to check locally on Linux. On Windows, use 'Test-NetConnection -Port 9090 hostname' in PowerShell.
How do I secure port 9090?
Secure port 9090 by restricting access with firewall rules, using encryption (TLS/SSL) where supported, keeping Prometheus updated, using strong authentication, and monitoring for unauthorized access attempts.
🔍 Check Your IP Address
While you're here, find out your public IP address, location, and ISP details instantly.
Check My IP →