[Solved] Error: listen EADDRINUSE: address already in use 127.0.0.1:3000

When running Vue project, an error is reported, that is: listen eadlink: address already in use 127.0.0.1:3000, indicating that the 3000 port number is occupied

Solution:

1. Open CMD and execute netstat – Nao | findstr 3000 to query the program occupied by port 3000

You can see that the process with PID 12212 occupies port 3000. If you want to know its process name, you can use the following command: tasklist | findstr 12212

2. Execute taskkill/PID 12212 to terminate the program occupying the port number

12212 is the number above

attention!! There is a space after taskkill

Similar Posts: