Skip to content

Instantly share code, notes, and snippets.

@davistran86
Created February 4, 2021 03:19
Show Gist options
  • Save davistran86/97915b9778b33b08e06c7e0de67d7edf to your computer and use it in GitHub Desktop.
Save davistran86/97915b9778b33b08e06c7e0de67d7edf to your computer and use it in GitHub Desktop.

You can search on how to kill that process.

For Linux/Mac OS search (sudo) run this in the terminal:

$ lsof -i tcp:3000
$ kill -9 PID

On Windows:

netstat -ano | findstr :3000
tskill typeyourPIDhere 

change tskill for taskkill in git bash

@davistran86
Copy link
Author

davistran86 commented Aug 16, 2022

npx kill-port <port>

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