Skip to content

Instantly share code, notes, and snippets.

@matthewdordal
Last active February 20, 2020 17:50
Show Gist options
  • Save matthewdordal/48a0a7f6ce997bd29835dd1851a71da1 to your computer and use it in GitHub Desktop.
Save matthewdordal/48a0a7f6ce997bd29835dd1851a71da1 to your computer and use it in GitHub Desktop.
What program is using port 8080

in terminal

$ lsof -i :8080 | grep LISTEN

node      33328 z001922   30u  IPv4 0x716bf89633a758d5      0t0  TCP localhost:http-alt (LISTEN)

The name “node” doesn’t tell you anything, to get the detail, use ps like this

$ ps -ef 33328

230232752 33328 33326   0 11:46AM ttys002    0:52.82 node /Users/..path../react-scripts/scripts/start.js

The program at the file path is using port 8080.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment