Skip to content

Instantly share code, notes, and snippets.

@hiiamyes
Created August 30, 2017 06:45
Show Gist options
  • Save hiiamyes/2556150e02a0b619b523592d1da87773 to your computer and use it in GitHub Desktop.
Save hiiamyes/2556150e02a0b619b523592d1da87773 to your computer and use it in GitHub Desktop.
Find and kill port in use on osx
# Error: listen EADDRINUSE 0.0.0.0:3003
# [ref](https://stackoverflow.com/questions/3855127/find-and-kill-process-locking-port-3000-on-mac)
lsof -t -i tcp:3003 | xargs kill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment