I am new to mqtt and Tasmota. I have been having issues with getting the tasmota to connect to the broker, I have checked the broker isworking by using mqttx to connect to it. I keep getting this error in the tasmota console:
“16:16:50.785 MQT: Connect failed to 127.0.0.1:1883, rc -2. Retry in 110 sec”
I am using the same IP that I use on mqttx, in my tasmota. I have also allowed the broker to listen to everything by adding “Listeners 1883 0.0.0.0” in my conf file.
If anyone has any suggestion on why this isnt working that would be massively appreciated.
So I have one network connection and my tasmota and broker are on my personal machine. when using mqttx I was only able to connect using the 127.0.0.1 ip. How do I find the IP of my broker?
If you installed the broker as an addon to HA. Look in settings - system - network, and at the bottom of that page you should find you ip in the network adapter section.
This is a work project that doesnt involve HA. The network I have active is a network that shouldnt have anything blocked so I know it’s not related to ports needing to be opened.