Skip to content

Node.js Port Already in Use

View on Twitter

💡 Failing to start a Node.js server because port is already taken? "Error: listen EADDRINUSE" 🚫

👉🏼 kill-port will kill the process running on a specific port. Works on MacOS/Unix and Windows

➡️ npx kill-port 3000

https://github.com/tiaanduplessis/kill-port

You might also like
Secure Your VPS: Enable Automatic Updates Read tip
setTimeout Execution Time Read tip
Top-Level await in Node.js Read tip