PortChecker

PortChecker

Lightweight API and web UI to check TCP port availability

170stars
6forks
Last commit: 2d ago
Repo age: 5y old
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 Services

Pi-hole

Pi-hole

Network-wide DNS sinkhole for ad and tracker blocking

55.3k
3k
Last commit: 1mo ago

Pi-hole is a network-wide DNS sinkhole that blocks ads and trackers for all devices on your network, with a web dashboard, query logs, and optional DHCP server.

Alternative to:
AdGuard
AdGuard
+7
Headscale

Headscale

Self-hosted control server for Tailscale-based WireGuard networks

34.3k
1.8k
Last commit: 8d ago

Headscale is an open source, self-hosted implementation of the Tailscale control server for managing a private tailnet, nodes, keys, IPs, and routes.

Alternative to:
Tailscale
Tailscale
+9
AdGuard Home

AdGuard Home

Network-wide DNS server that blocks ads, trackers, phishing and malware

32.1k
2.2k
Last commit: 1d ago

Open-source DNS-based ad & tracker blocking server for networks. Offers per-device rules, parental controls, encrypted upstream DNS (DoH/DoT/DNSCrypt), web UI and API.

Alternative to:
AdGuard
AdGuard
+5
Web-Check

Web-Check

All-in-one OSINT tool for analyzing any website.

30k
2.4k
Last commit: 4d ago

Comprehensive on-demand OSINT to analyze a website's security, architecture, and tech stack.

Alternative to:
Shodan
Shodan
+8
wg-easy

wg-easy

WireGuard VPN server with a web-based admin interface

24.1k
2.3k
Last commit: 2d ago

Run a WireGuard VPN server with an easy web admin UI to manage clients, generate configs and QR codes, and monitor connections and traffic.

Alternative to:
Tailscale
Tailscale
+14
NetBird

NetBird

WireGuard-based overlay network with SSO/MFA and granular access controls.

21.1k
1k
Last commit: 1d ago

Open-source zero-trust networking platform delivering a WireGuard-based private network with centralized access control, SSO/MFA, and cross-platform clients.

Alternative to:
Tailscale
Tailscale
+17