elder.js

How to Kill a Process Using a Specific Port [macOS Big Sur]

May 30, 2021 · 2 min read
A quick way to kill a process that uses a specific port. This is what you need if you get an `EADDRINUSE` error, which says that a process can’t bind to a port because it is already in use by another process. The most likely cause is that a development server hung up or didn’t terminate properly.