Broker is not coming up

Hi,

I just started a docker node and able to access the UI.
Trying to create a mqtt in with debug node using a test topic.
While deploying I am seeing connection unable to come up.
Here is a snapshot. Just trying to bring up a mqtt broker.
But after deploying its not showing connected. Can you please help me out.

You have specified 127.0.0.1 (i.e. local container network). As this node-red is running in docker, do you also have a broker running in the same container?

Hi Steve,
Thank you for quick response, I tried with static IP address as well.
Is there a way to assign the IP address. As when I deployed the docker image I can able to access the UI using the VM IP address (172.26.200.99).
I tried the same IP as well as loop back IP address but still the broker is not able to come up.
Is there a way to assign the static IP address to the container.

Regards,
Debasish

I am certain there is (maybe search google or ask on docker forums)


do you actually have a running broker?

try installing a standalone client (like MQTT Explorer) - verify that you can connect to the broker before worrying about other things like Node-RED.