Skip to content

Instantly share code, notes, and snippets.

@nickbytes
Created May 23, 2017 16:49
Show Gist options
  • Save nickbytes/2208c5e7d73e16f8e64ef85b39a0801b to your computer and use it in GitHub Desktop.
Save nickbytes/2208c5e7d73e16f8e64ef85b39a0801b to your computer and use it in GitHub Desktop.
When you really need to kill a node process

Error message reads Node / Express: EADDRINUSE...

Damn, this shouldn't be happening.

List all processes running on port 3000 like this

sudo lsof -i :3000

Find the PID. Kill the PID.

kill -9 {PID}

That's all.

Answer found here

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