hello . i have issues with node red mqtt broker . i created new broker but i keep geting
12 Dec 12:08:07 - [info] [mqtt-broker:node mqqt] Connection failed to broker: mqtt://localhost:1883
when i run
admin@X:~$ sudo lsof -i :1883
i got nothing . i even installed node-red-contrib-mqtt-broker but without result any solution for that
Did you install a broker? Most people are using the Mosquitto broker which is performant and easy to use. That is always going to be better than trying to use node-red-contrib-mqtt-broker.
node-red-contrib-mqtt-broker is deprecated.
There is an MQTT broker available for Node-red: Aedes.
It is simple to setup and use: Install via Manage Palette, put an Aedes node into one flow.
I suppose you have the guarantee that if Node-red is running, so is your broker.
However, it's much better to install Mosquitto somewhere on your network, especially since you seem to have a Linux machine.
Not as simple to install but very reliable once you have done so.