Skip to content

Instantly share code, notes, and snippets.

@DataGreed
Created July 30, 2019 13:32
Show Gist options
  • Save DataGreed/499cadd2400a7ac1781a3efa1444d1b4 to your computer and use it in GitHub Desktop.
Save DataGreed/499cadd2400a7ac1781a3efa1444d1b4 to your computer and use it in GitHub Desktop.
Find out what process listens to the port on OSX/nix
lsof -n -i4TCP:8080 | grep LISTEN
@DataGreed
Copy link
Author

change 8080 to needed port

you'lle receive PID that you can use to execute a kill {PID} command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment