portop shows every TCP and UDP socket on a machine together with the process, service and container behind it and who can reach it, and lets you inspect or stop the owner. It runs on Linux, macOS and Windows, in the terminal, in a browser, or inside Cockpit.
--diff compares the host against a saved baseline from cron or CI.portop --free 8080 in a script.--wait, --free, baselines and Compose audits.Install portop, read First run and permissions, then see Platform support for what each operating system provides.