Last active
January 4, 2016 20:59
-
-
Save ddre54/8677490 to your computer and use it in GitHub Desktop.
Mac OS: Check in which port is an running an application
This file contains hidden or 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
# Command shows in which port is an application running | |
lsof -i -P | grep nginx | |
# Find programs running by port they are using | |
sudo lsof -i:80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment