portracker

portracker

Self-hosted real-time port monitoring and service discovery

1.5kstars
44forks
Last commit: 5d ago
Repo age: 1y old

portracker is a self-hosted, real-time port monitoring and service discovery tool for mapping what is actually running on your servers. It scans the host and supported platforms (like Docker and TrueNAS) to provide an up-to-date view of services and their exposed ports, reducing errors from manual tracking.

Key Features

  • Automatic discovery of running services and their TCP ports on the host
  • Docker-aware discovery, including detection of internal container ports vs published host ports
  • TrueNAS collector with optional API key support for enhanced inventory details and VM/LXC visibility
  • Peer-to-peer monitoring to aggregate multiple portracker instances into a single dashboard
  • Hierarchical grouping to nest systems (for example, VMs under a physical host)
  • Lightweight deployment with an embedded SQLite database (no external DB required)
  • Modern responsive UI with live filtering, dark mode, and multiple layout views
  • Optional built-in authentication to restrict dashboard access

Use Cases

  • Maintain an accurate inventory of ports and services across homelab or small server fleets
  • Troubleshoot port conflicts and reduce deployment failures during container/app rollouts
  • Get a consolidated view of ports and services across multiple hosts via peering

Limitations and Considerations

  • Some discovery features require elevated container privileges (host PID and additional capabilities) to inspect system ports
  • TrueNAS VM discovery may be read-only unless a separate portracker instance runs on each VM

portracker is a practical choice for administrators who want continuous visibility into host and container networking without maintaining spreadsheets. Its embedded storage and peering model make it easy to deploy broadly and centralize service mapping.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Uptime Kuma

Uptime Kuma

Self-hosted uptime monitoring with alerts and status pages

81.5k
7.3k
Last commit: 1d ago

Uptime Kuma is a self-hosted uptime monitoring tool for HTTP(S), TCP, ping, DNS and more, with notifications, charts, and public status pages.

Alternative to:
UptimeRobot
UptimeRobot
+15
Netdata

Netdata

Real-time, per‑second full‑stack monitoring and observability

77.4k
6.3k
Last commit: 16h ago

Open-source, agent-based monitoring platform delivering per-second metrics, edge ML anomaly detection, tiered time-series storage and centralized cloud UI.

Alternative to:
Datadog Cloud Monitoring
Datadog Cloud Monitoring
+16
Grafana

Grafana

Observability dashboards and alerting for metrics, logs, and traces

71.7k
13.4k
Last commit: 18h ago

Grafana is an open source observability and data visualization platform for querying, graphing, and alerting on metrics, logs, and traces across many data sources.

Alternative to:
Grafana Cloud
Grafana Cloud
+19
Prometheus

Prometheus

Monitoring system and time-series database for metrics and alerting

62.2k
10.1k
Last commit: 1d ago

Prometheus is an open-source monitoring and time-series database for collecting metrics, querying with PromQL, and alerting on system and application health.

Alternative to:
Datadog Cloud Monitoring
Datadog Cloud Monitoring
+17
Sentry

Sentry

Error tracking and application performance monitoring platform

42.9k
4.6k
Last commit: 16h ago

Sentry is a developer-focused platform for error tracking, performance monitoring, and tracing to help teams detect, investigate, and fix issues faster.

Alternative to:
Bugsnag
Bugsnag
+14
Glances

Glances

Cross-platform system monitoring tool with TUI, Web UI, and APIs

31.3k
1.7k
Last commit: 7d ago

Glances is a cross-platform system monitoring tool providing a terminal dashboard, web UI, and REST/XML-RPC APIs for local or remote monitoring and exporting metrics.

Alternative to:
Netdata Cloud
Netdata Cloud
+11