How do I check if an address is already in use Mac?

PHOTO EMBED

Sun Nov 27 2022 11:34:43 GMT+0000 (Coordinated Universal Time)

Saved by @eneki

#First run this, to get port information (with the port you want to kill)
sudo lsof -i :3000.

#Then run this, with <PID> replaced by the value in the column returned by previous command.
kill -9 <PID>
content_copyCOPY