Skip to content

Instantly share code, notes, and snippets.

@IcodeNet
Created August 10, 2020 10:02
Show Gist options
  • Save IcodeNet/d52a19e84511b6f498de2e8146cad10b to your computer and use it in GitHub Desktop.
Save IcodeNet/d52a19e84511b6f498de2e8146cad10b to your computer and use it in GitHub Desktop.
Check which process is using port #mac

sudo lsof -iTCP -sTCP:LISTEN -P | grep :5001

then

sudo kill -9 [processId]

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