Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

Connection failed to broker: mqtt://localhost:1883

Writer Matthew Harrington

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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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