Connection failed to broker

Hi, Im a noob to node-red, but pretty experienced in IOT, programming, etc.

Im sure its a config issue, but I cant get NR to connect to the MQTT broker in the Hassio Pi. No matter what I input as server it keeps logging "[info] [mqtt-broker:hassio] Connection failed to broker: mqtt://192.168.1.143:1883" - Ive tried using "localhost" "127.0.0.1" "hassio.local". Ive tried using with and without security (ie user/pwd on the security tab). Nothing works...
same for both the sub and pub nodes on the canvas.
Other functions work fine, like using an inject to activate entities in hassio, but I cant use it for its main purpose - pub/sub of mqtt messages....

Anyone know what Im doing wrong?

/thanx Jock

Try with a command line client such as mosquitto_sub

Have you tried asking this on the hassio forum? (https://community.home-assistant.io)

1 Like