PortWatch
Local socket, PID, and TLS certificate inspector in the CLI
- Category
- DevTools
- License
- BSD-3-Clause
- Pricing
- Free & open source
- Platforms
- macOS, Linux
Overview
Map listening TCP/UDP ports to owning processes and verify remote TLS expiry in one command.
PortWatch replaces ad-hoc combinations of lsof, ss, and openssl with a single readable output format. Use it interactively when resolving local port conflicts or in scheduled checks to monitor TLS certificate renewals.
What it does
- Maps open TCP and UDP sockets to exact process commands and PIDs
- Inspects remote TLS certificate chains, expiry dates, and ALPN
- Supports deterministic JSON output for shell scripts and CI