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: Use Non-Root User Read tip
Run Locally Installed NPM Library Read tip
Upload Files From Terminal Read tip