# PortChecker

PortChecker is an open-source web utility for checking whether TCP ports are open on any hostname or IPv4 address.

Canonical page: https://ourlocalhost.com/app/8073/portchecker

## Description

PortChecker.io is an open-source web utility for checking whether TCP ports are open on any hostname or IPv4 address. It runs a lightweight front-end behind Nginx with a Litestar-based API backend, letting developers and network administrators troubleshoot network setups, validate firewall rules, verify port forwarding, and assess access points. It's ideal for homelabbers who want a self-hosted alternative to public port-checking sites, supporting multiple port checks including common services like HTTP, SSH, MySQL, and PostgreSQL.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

63/100 (Good), based on 5 of 5 factors.
- Maintained: 100 (last commit 22 days ago)
- Popular: 46 (200 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Light to run: 100 (256 MB minimum RAM)
- Security check: 20 (1 serious finding, CI, tests)

## Security check

1 serious finding: Uses certifi 2025.1.31, which has a known critical vulnerability.
Automated checks on commit 076d79f, 23 Nov 2026. Not an audit.

## Links

- Official website: https://portchecker.io
- GitHub: https://github.com/dsgnr/portchecker.io
- Documentation: https://portchecker.io/docs

## Common questions

### How do I run PortChecker in production with Docker?

Pull the official images ghcr.io/dsgnr/portcheckerio-web and ghcr.io/dsgnr/portcheckerio-api, then run `docker-compose up`. The front-end will be available on port 8080 and the API on port 8000.

### What environment variables does PortChecker support?

The README's Environment Variables section documents the variables used for production. Production also runs the API under gunicorn with uvicorn workers.

### Can I check multiple ports at once, and which services are supported?

Yes, you can enter multiple ports separated by commas (1-65535), and quick presets are provided for common services like HTTP, HTTPS, SSH, FTP, MySQL, and PostgreSQL.

### Why does a port checker say my forwarded port is closed?

A closed result means the remote host is reachable but no service is accepting connections on that port; commonly a firewall, no listener, or router forwarding is blocking it even if the router shows the port as open.

### Where can I find the API documentation?

API routes and specification are available at portchecker.io/docs, which uses Scalar and requires JavaScript to be enabled in your browser.

## Alternatives

- DNSChecker.org
- Free Port Scanner: Free Port Scanner is a small, fast, easy-to-use and robust port scanner for the Win32 platform.You can scan ports on fast machines in a few…
- HackerTarget
- IP Fingerprints
- Open Port Scanner
- TCPView: Shows all active TCP/UDP endpoints, local and remote addresses, connection states, and owning processes with color-coded updates and adjust…
- WhatIsMyIP Port Scanner
- Zenmap: Zenmap is the official cross-platform GUI for the Nmap Security Scanner.

---
Source: Our Local Host (https://ourlocalhost.com/app/8073/portchecker), the self-hosted and open-source app directory.
