Skip to content

Instantly share code, notes, and snippets.

@arjupba
Created August 28, 2018 05:17
Show Gist options
  • Select an option

  • Save arjupba/5e8aa49b6c866950d1411419c31c4ebc to your computer and use it in GitHub Desktop.

Select an option

Save arjupba/5e8aa49b6c866950d1411419c31c4ebc to your computer and use it in GitHub Desktop.
kill process based on network port
$ 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