Skip to content

Instantly share code, notes, and snippets.

@jolbax
Created April 7, 2020 12:29
Show Gist options
  • Save jolbax/7ad8083d0d564ac150873e7fe1d59339 to your computer and use it in GitHub Desktop.
Save jolbax/7ad8083d0d564ac150873e7fe1d59339 to your computer and use it in GitHub Desktop.
Mac OS X: find the program running on a port
$ sudo lsof -i :80 # checks port 80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ruby 64888 wg 6u IPv4 0x6ddd270 0t0 TCP *:gds_db (LISTEN)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment