Created
December 6, 2019 13:52
-
-
Save Bogdaan/a9d4c1891122b83bfd5b49a6379d9ce4 to your computer and use it in GitHub Desktop.
Kill process that listen port (mac)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # netstat -vanp tcp | grep 8080 | |
| kill -SIGKILL $(lsof -i tcp:8080) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment