find all processes running on port code example
Example 1: list process using port
sudo lsof -n -i :80 | grep LISTEN
Example 2: See process on port
netstat -ano | findstr 8080Code language: Bash (bash)
sudo lsof -n -i :80 | grep LISTEN
netstat -ano | findstr 8080Code language: Bash (bash)