PortChecker logo

PortChecker

Website

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 screenshot

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:

Share:

Similar to PortChecker

PeaNUT

Web dashboard and API for Network UPS Tools (NUT) monitoring

1.6k
45
Last commit

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.

Apache-2.0Actively maintained
Alternative to:
Amazon CloudWatch logo
Amazon CloudWatch
+10
Prometheus logo

Prometheus

Monitoring system and time-series database for metrics and alerting

65.8k
10.8k
Last commit

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

Apache-2.0Actively maintained
Alternative to:
Datadog Cloud Monitoring logo
Datadog Cloud Monitoring
+17

Open Source Routing Machine (OSRM)

High-performance routing engine for OpenStreetMap data

8k
4k
Last commit

OSRM is a high-performance routing engine for OpenStreetMap data, providing an HTTP API for routing, map matching, distance tables, and more.

BSD-2-ClauseActively maintained
Alternative to:
Mapbox logo
Mapbox
+1
WatchYourLAN logo

WatchYourLAN

Lightweight LAN IP scanner with web UI, alerts, and metrics export

7.5k
283
Last commit

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.

MITSlowing down
Alternative to:
Fing logo
Fing
+9
Wakapi logo

Wakapi

Self-hosted WakaTime-compatible backend for coding statistics

4.4k
300
Last commit

Minimalist, self-hosted WakaTime-compatible backend to track coding time with dashboards, leaderboards, badges, reports, and a REST API.

MITActively maintained
Alternative to:
WakaTime logo
WakaTime
+3

YoutubeDL-Material

Material Design web UI for youtube-dl downloads

3.2k
327
Last commit

Self-hosted web interface for managing video/audio downloads using youtube-dl, with a Material Design UI, queue management, and an optional public API.

MITActively maintained
Alternative to:
4K Video Downloader logo
4K Video Downloader
+15