Network and Ports
Network requirements for PanDev Metrics On-Premise.
Ports
| Port | Service | Purpose |
|---|---|---|
| 8090 | Workspace | Dashboard with analytics and reports |
| 8080 | PanDev Metrics | API for IDE plugins |
| 5432 | PostgreSQL | Database (optional) |
External Network Access
Port 8080 (PanDev Metrics)
Must be open if:
- Developers work remotely
- IDE plugins need to send data from outside the corporate network
Working without external access
If port 8080 is closed to external network — data won't be lost. IDE plugins accumulate events locally and send them when connected to VPN or internal network.
Port 5432 (PostgreSQL)
Not recommended to expose:
- Used for internal service communication
- Open only if direct DB access is needed (e.g., for BI tools)
Proxy and Load Balancing
Nginx Reverse Proxy
Example configuration:
server {
listen 443 ssl;
server_name metrics.company.com;
location / {
proxy_pass http://localhost:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
Proxy Environment Variables
If the server is behind a corporate proxy:
| Variable | Description |
|---|---|
HTTP_PROXY | HTTP proxy address |
HTTPS_PROXY | HTTPS proxy address |
NO_PROXY | Proxy exclusions |
Firewall Rules
Minimum rules for incoming traffic:
# PanDev Metrics API and web interface
iptables -A INPUT -p tcp --dport 8080 -j ACCEPT