Yes I could not connect to the MQTT server until I configured the MS firewall to pass Port 1883. (Windows 10 and Mosquitto 2).
The proceedure is:
Windows Defender Firewall window > Advanced Settings > Inbound Rules > New Rule… > Port… > TCP > Specific local ports: 1883 > Allow the connection > Set the Domain, Private and Public as selected > And set a Name: Mosquitto.
Then, go to Outbound Rules and do the same. See the link above that explains the procedure very clearly
-
This reply was modified 1 year, 6 months ago by David Gamble.