mac get all process id on port 3133 code example Example: mac terminal find process by port sudo lsof -i tcp:3000