Address already in use - Kill server

PHOTO EMBED

Fri Sep 22 2023 19:48:22 GMT+0000 (Coordinated Universal Time)

Saved by @MuhammadAhmad

First, you would want to know which process is using port 3000

sudo lsof -i :3000
 Save
this will list all PID listening on this port, once you have the PID you can terminate it with the following:

kill -9 <PID>
content_copyCOPY

https://stackoverflow.com/questions/4075287/node-express-eaddrinuse-address-already-in-use-kill-server