Shih-Min Lee's Personal website

dating, chating, food, games, search

Follow me on GitHub

😀 Find a process listening on a port (Mac)

On a mac you can do the following to find out what is blocking your port:

lsof -i :3000

You will get a list of PIDs. And then you do

kill -9 xxx

to kill the process with PID xxx.


12 Apr 2018