Who uses which network port
low risk
Maps processes to sockets. See the flags and examples below, and run `man lsof` for the full reference.
lsof -i :8080Process on port 8080 · explain & risk-check →lsof -iTCP -sTCP:LISTEN -P -nAll listeners · explain & risk-check →Reference text is hand-written and may be incomplete — check man lsof for your version. Test destructive commands on a non-production system first.