Skip to content

Instantly share code, notes, and snippets.

@RickJP
Created November 4, 2018 04:40
Show Gist options
  • Save RickJP/bb7d5f50d2cd3305dba377fe581d27d4 to your computer and use it in GitHub Desktop.
Save RickJP/bb7d5f50d2cd3305dba377fe581d27d4 to your computer and use it in GitHub Desktop.
MAC-TERMINAL - Useful Commands & Solutions
################### Find (and kill) process locking port 3000 on Mac ##########################
You can try netstat
netstat -vanp tcp | grep 3000
For macOS El Capitan and newer (or if your netstat doesn't support -p), use lsof
sudo lsof -i tcp:3000
#######################################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment