Find Port Users With fuser

Identify the process behind a busy port or an open file.

LinuxProcessesnetworkDiagnosticsLow risk
Run fuser -n tcp 8080 to print the PID using TCP port 8080.

01Command

Command
$ fuser -n tcp 8080

02What it does

fuser reports which processes have a file, directory or socket open, which is the fastest answer to 'why is this port busy?' and a safer diagnostic than killing indiscriminately. It works on remote servers where no process GUI exists.

03Risk

RiskLow risk
Requirementssudo apt install psmisc
!Warning: fuser can also send signals with -k; do not use that flag until you are certain which process you are targeting.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

Last verified: 2026-10-13 · Category: Network

06Related solutions