How to kill processes that are running on a certain port? For example, I am running shadcn but I get an error that the port is in use (“EADDRINUSE”). How can you fix that? For example for port 4000 – list the processes (PIDs in macOS): Then kill those processes: That should do the trick!
Kill process on a certain port
- Posted in workflow