d
Amit DhamuSoftware Engineer
 

What's Using A Port

1 minute read 00000 views

The below command will list any process using port 8080. Just do a ps [PID] to get the process name.

netstat -vanp tcp | grep 8080

Alternate Method (macOS)

lsof -i :8080

Alternate Method (nmap)

brew install nmap
nmap localhost