Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. To list any process listening to the port 8080:
  2. lsof -i:8080
  3.  
  4. To kill any process listening to the port 8080:
  5. kill $(lsof -t -i:8080)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement