portracker is a self-hosted tool that works out which services are listening on which ports, and keeps that picture current. It scans the host it runs on, lists every service it finds with the ports it holds, and groups the results per server, so the answer to “is 8080 free on that box, and what is already using it” is a page rather than a spreadsheet someone forgot to update.
Deployment is a single Docker container (image mostafawahied/portracker) listening on port 4999. It needs host PID namespace, SYS_PTRACE and SYS_ADMIN capabilities, an unconfined AppArmor profile and the Docker socket mounted read-only, because reading other processes’ sockets is the whole job. State lives in an embedded SQLite database under /data, so there is no Postgres or Redis to run alongside it.
One caveat worth knowing before deploying on a workstation: under Docker Desktop for macOS and Windows the container sees the Linux VM, so it can read Docker container metadata and published ports but cannot enumerate listeners started natively on the desktop host. Host PID mode and the extra capabilities do not change that boundary.
Dozzle covers the other half of the same question — what a container is saying — and NetBox is the documentation-of-record alternative when the inventory has to be curated by hand rather than discovered.