VibeDict

📦Port already in use

What you'll see
Error: listen EADDRINUSE: address already in use :::3000

Another program is already using that number (port), so the server can't start. Usually a dev server you started earlier is still running.

🤔 Why does it happen?

  • A dev server is already running in another terminal window
  • The server didn't shut down properly and is still running in the background

🔧 Try this

  1. Find the other terminal window and stop the server with Ctrl + C
  2. You can also start it on a different port (for example, npm run dev -- -p 3001)
  3. If that still doesn't work, restart your computer

🤖 Ask your AI like this

I get the EADDRINUSE error below when I start the dev server. My computer is a [Mac/Windows]. Please walk me through finding and stopping the program that's using that port, step by step. [Paste the full error here]

Replace the [ ] parts with your own situation, and paste the error with a few extra lines before and after it.

Related terms

Other errors in this group