Skip to content

Instantly share code, notes, and snippets.

@ajmeese7
Last active September 14, 2022 23:35
Show Gist options
  • Save ajmeese7/c315e8fd63e33917a3fe7128f219fa5e to your computer and use it in GitHub Desktop.
Save ajmeese7/c315e8fd63e33917a3fe7128f219fa5e to your computer and use it in GitHub Desktop.
Kills whatever application is currently using a port in Unix.
# Source: https://stackoverflow.com/questions/11583562/how-to-kill-a-process-running-on-particular-port-in-linux#comment71450805_11596144
fuser -k -n tcp 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment