Self hosting discourse with WSL shows an error, the command shown also doesnt work

The cloud VM is if you want to host a production instance. If you want to use WSL for development, follow this guide. If you want to do it for production, then, well, it won’t be easy (and you also won’t want to run your computer 24/7).