port 80 already in use mac code example Example: mac error that port is already in use sudo lsof -t -i tcp:8000 | xargs kill -9