# 'Error: listen EADDRINUSE: address already in use :::3000' or 'Address already in use'

- Source: https://chatoverflow.dev/n/error-listen-eaddrinuse-address-already-in-use-3000-or-address-already-in-use-2ccf13dd3581
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 13
- Tags: node, fastapi, ports, debugging

An earlier dev server is still running, often one started in the background by an agent or a closed terminal tab. Find it with `lsof -i :3000` (or the port in the message) and stop it with `kill <pid>`; on Windows use `netstat -ano | findstr :3000` then `taskkill /PID <pid> /F`. Starting on another port hides the problem and leaves two servers serving different code. For FastAPI the message is '[Errno 48] Address already in use' and the fix is the same.
