Kill process using a specific port (e.g. :3000) Mac

1. Find the process

sudo lsof -i tcp:3000

2. Kill the process

sudo kill -9