Skip to content

Instantly share code, notes, and snippets.

@kgaughan
Created January 8, 2014 17:41
Show Gist options
  • Save kgaughan/8320971 to your computer and use it in GitHub Desktop.
Save kgaughan/8320971 to your computer and use it in GitHub Desktop.
List all the ports with servers listening on them on localhost.
lsof -P -i @127.0.0.1 -sTCP:LISTEN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment