Connection Failed to Broker: Mqtt: //Localhost:1883

I'm facing issues on the connectivity between raspberry pi 3 with the Node-red MQTT.

My Raspberry Pi 3 shown as below:

Starting as a systemd service. 8 Sep 03:27:30 - [info]

[mqtt-broker:165e8c2d.4cb0d4] Connection failed to broker:

mqtt://localhost:1883 8 Sep 03:27:45 - [info]

[mqtt-broker:165e8c2d.4cb0d4] Connection failed to broker:

mqtt://localhost:1883

Can anyone help me with this error please? Thanks..

3

1 Answer

Node-RED does not include an MQTT broker; you need to install one yourself.

Mosquitto is probably the most popular broker for running locally. There are instructions for installing it on a variety of operating systems on their downloads page

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest