I am always getting the error "address already in use :::3000"

Error: listen EADDRINUSE: address already in use :::3000 at Server.setupListenHandle [as _listen2] (net.js:1280:14) at listenInCluster (net.js:1328:12) at Server.listen (net.js:1415:7)

2

1 Answer

Use fuser 3000/tcp to get the pid of the process running on that port.
After that run ls -l /proc/<PID>/exe to get some process details.
Use it's output to determine whether you want to kill that process or start your service on a different port ( imo I would recommend the 2nd option).

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like