Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. You can try netstat
  2.  
  3. netstat -vanp tcp | grep 3000
  4.  
  5. For macOS El Capitan and newer (or if your netstat doesn't support -p), use lsof
  6.  
  7. sudo lsof -i tcp:3000
  8.  
  9. For Centos 7 use
  10.  
  11. netstat -vanp --tcp | grep 3000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement