Skip to content

Instantly share code, notes, and snippets.

@ddavison
Created September 22, 2014 18:40
Show Gist options
  • Save ddavison/5f2d7b65465955d968de to your computer and use it in GitHub Desktop.
Save ddavison/5f2d7b65465955d968de to your computer and use it in GitHub Desktop.
Find a process using a port on a mac
$ lsof -n -i4TCP:3000 | grep LISTEN
$ # where 3000 is the port number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment