Quit the server with CONTROL-C. Error: That port is already in use. code example Example: mac error that port is already in use sudo lsof -t -i tcp:8000 | xargs kill -9