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
- Previous instance of the app still running
- Another app using the same port
- Zombie process holding the port
Fixes
- 1. Find process using the port
lsof -i :3000 # macOS/Linux netstat -ano | findstr :3000 # Windows
- 2. Kill the process
kill -9 <PID>
- 3. Use a different port
PORT=3001 npm start
Still not fixed?
- • Search the exact error message on Stack Overflow or GitHub Issues
- • Check the official docs for the language or tool
- • Ensure your versions (Node, Python, npm, Docker) are up to date
- • Try in a minimal reproduction (new project, single file)
Related Errors
DuskTools That Might Help
All Errors
JavaScript Heap Out of MemoryModuleNotFoundErrorIndentationErrorCannot Find ModulePeer Dependency WarningCORS Policy BlockedTypeError: 'NoneType' Not SubscriptableMerge ConflictDocker Port Already AllocatedENOENT: No Such File or DirectoryKeyErrorMaxListenersExceededWarningRecursionErrorDetached HEAD StateEACCES: Permission DeniedValueErrorNo Space Left on DeviceERR_REQUIRE_ESMFileNotFoundError