Skip to content

Instantly share code, notes, and snippets.

@ddre54
Last active January 4, 2016 20:59
Show Gist options
  • Save ddre54/8677490 to your computer and use it in GitHub Desktop.
Save ddre54/8677490 to your computer and use it in GitHub Desktop.
Mac OS: Check in which port is an running an application
# 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