DEV Community


Posted on • Updated on

Error: listen EADDRINUSE: address already in use :::1006 on mac

Alt Text

To resolve this issue on mac there are 3 steps

  1. First need to find PID using below command line sudo lsof -i :portNumber // put your using portNumber here
  2. Now it will ask you password. After enter password you will get PID.
  3. Then run below command kill -9 PID // put the PID you get above


Discussion (0)