Windows setup checklist.
Install the Windows x64 package, create a broker profile, and test a simple subscribe and publish flow before moving the same settings into device firmware or backend code.
If a connection fails, check the broker port first. Common MQTT ports include 1883 for plain TCP and 8883 for TLS.