Connection to MQTT broker not possible

What version of mosquitto do you have installed ?

In your mosquitto.conf file add the lines below because by default the new version 2.0 doesnt allow remote connections by default. Link

allow_anonymous true
listener 1883
1 Like