
PortChecker
Lightweight API and web UI to check TCP port availability
195 stars 8 forks last commit first released GPL-3.0
Actively maintained
Last commit 15 Aug 2026.

PortChecker is an open-source utility that provides a simple API and web UI to test the availability of ports on a given hostname or IP address. It is designed to be lightweight with minimal dependencies and is supplied with production-ready Docker stacks and monitoring hooks.
Key Features
- HTTP API for checking port status on a provided hostname or IP, suitable for automation and integration
- Static web UI served behind Nginx for ad-hoc manual checks and quick diagnostics
- Production-ready Docker Compose stacks and development workflows for the frontend and backend
- Backend implemented in Python with a fast ASGI server setup (gunicorn + uvicorn workers) and a small dependency footprint
- Environment variables to control defaults and behavior (e.g., default host/port, ALLOW_PRIVATE to permit private IP checks)
- Prometheus /metrics endpoint for collecting API metrics and integrating with observability tooling
Use Cases
- Troubleshooting network connectivity and validating firewall rules for specific services and ports
- Integrating port checks into CI/CD pipelines or automation scripts via the REST API
- Monitoring endpoint accessibility and exporting API metrics to Prometheus for dashboards and alerts
Limitations and Considerations
- Intended for individual port availability checks rather than full port-scanning or discovery; not a replacement for comprehensive scanners
- Primary checks are TCP-based connect-style tests; UDP checks or protocol-level validation are not provided
- Default configuration disallows checks against private IP ranges unless explicitly enabled via configuration, which may limit internal network testing
PortChecker is a compact, purpose-built tool for quick port verification and lightweight monitoring. It suits developers and administrators who need an easy-to-deploy API and UI for validating network accessibility and integrating simple checks into observability or automation workflows.
Categories:
Tags:
Tech Stack:
Similar to PortChecker
PeaNUT
Web dashboard and API for Network UPS Tools (NUT) monitoring
Tiny self-hosted dashboard to monitor and control UPS devices via Network UPS Tools (NUT), with real-time stats, multi-UPS support, and Prometheus/InfluxDB integrations.

Prometheus
Monitoring system and time-series database for metrics and alerting
Prometheus is an open-source monitoring and time-series database for collecting metrics, querying with PromQL, and alerting on system and application health.
Open Source Routing Machine (OSRM)
High-performance routing engine for OpenStreetMap data
OSRM is a high-performance routing engine for OpenStreetMap data, providing an HTTP API for routing, map matching, distance tables, and more.

WatchYourLAN
Lightweight LAN IP scanner with web UI, alerts, and metrics export
Self-hosted lightweight LAN IP/ARP scanner with web dashboard, new-host notifications, online/offline history, and metrics export to Prometheus or InfluxDB for Grafana.


Wakapi
Self-hosted WakaTime-compatible backend for coding statistics
Minimalist, self-hosted WakaTime-compatible backend to track coding time with dashboards, leaderboards, badges, reports, and a REST API.
YoutubeDL-Material
Material Design web UI for youtube-dl downloads
Self-hosted web interface for managing video/audio downloads using youtube-dl, with a Material Design UI, queue management, and an optional public API.






