Created
August 28, 2018 05:17
-
-
Save arjupba/5e8aa49b6c866950d1411419c31c4ebc to your computer and use it in GitHub Desktop.
kill process based on network port
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 -nlp | grep :8080 | |
| tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1073/node | |
| $ kill 1073 | |
| $ kill -9 1073 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment