find process on port terminal code example
Example 1: mac terminal find process by port
sudo lsof -i tcp:3000
Example 2: See process on port
netstat -ano | findstr 8080Code language: Bash (bash)
sudo lsof -i tcp:3000
netstat -ano | findstr 8080Code language: Bash (bash)