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

Invite us to your inbox.

Articles, guides and interviews about web development and career progression.

Max 1-2x times per month.