The fastest way to kill a process on a specific port

Last updated on December 17, 2021

How many times how you seen the error message?

shell
1
Address already in use - bind(2) for "127.0.0.1" port 3000 (Errno::EADDRINUSE)

Easiest way to kill a port? Usethis npm package. Just run this command in your terminal

shell
1
npx kill-port 3000

Level up your web development skills

Get articles, guides and interviews right in your inbox. Join a community of fellow developers.

No spam. Unsubscribe at any time.