mac find process using port 8080 code example Example: mac terminal find process by port sudo lsof -i tcp:3000