Skip to content

Instantly share code, notes, and snippets.

@parvez
Created July 9, 2019 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parvez/ef0749629d1151ab6fd689f8af86af33 to your computer and use it in GitHub Desktop.
Save parvez/ef0749629d1151ab6fd689f8af86af33 to your computer and use it in GitHub Desktop.
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
For Centos 7 use
netstat -vanp --tcp | grep 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment