Created
July 30, 2019 13:32
-
-
Save DataGreed/499cadd2400a7ac1781a3efa1444d1b4 to your computer and use it in GitHub Desktop.
Find out what process listens to the port on OSX/nix
This file contains 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
lsof -n -i4TCP:8080 | grep LISTEN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
change 8080 to needed port
you'lle receive PID that you can use to execute a
kill {PID}
command