npm

Error: listen EADDRINUSE: address already in use :::3000

Address Already in Use

The port your app is trying to bind to is already occupied by another process.

Common Causes

Fixes

  1. 1. Find process using the port
    lsof -i :3000   # macOS/Linux
    netstat -ano | findstr :3000   # Windows
  2. 2. Kill the process
    kill -9 <PID>
  3. 3. Use a different port
    PORT=3001 npm start

Still not fixed?

Related Errors

DuskTools That Might Help

All Errors