Skip to content

Instantly share code, notes, and snippets.

@mbchoa
Last active April 18, 2021 01:45
Show Gist options
  • Save mbchoa/ead15faaf069ff2d17f945913fb6e6cb to your computer and use it in GitHub Desktop.
Save mbchoa/ead15faaf069ff2d17f945913fb6e6cb to your computer and use it in GitHub Desktop.
Linux: Find process by port
netstat -plten | grep LISTEN | grep <PORT>
kill -9 <PID>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment