how to stop port 8000 in windows code example Example: stop port in use 8000 kill -9 $(lsof -i TCP:8000 | grep LISTEN | awk '{print $2}')