find out whats on port 3000 code example Example 1: kill the port in mac Click to copysudo lsof -i tcp:3000 Example 2: killing a port mac Click to copykill -9 <PID>