# Raspberry pi help setting up a second MQTT broker

**URL:** <https://discourse.nodered.org/t/raspberry-pi-help-setting-up-a-second-mqtt-broker/36739>\
**Category:** General\
**Created:** [30 November 2020 04:45 UTC](https://discourse.nodered.org/t/raspberry-pi-help-setting-up-a-second-mqtt-broker/36739 "2020-11-30T04:45:48Z")\
**Posts on this page:** 3\
**Page:** 3

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [2 December 2020 22:34 UTC](https://discourse.nodered.org/t/raspberry-pi-help-setting-up-a-second-mqtt-broker/36739/41 "2020-12-02T22:34:27Z")

</div>

Ah!

Ok. Now I get that part! Yes, sorry. With you. I am using the IP address (192.168.0.86)  
Not 127.0.0.1!

SILLY ME!

Ok, I'll try it that way.

Sorry.....

(But it doesn't help explain why the MQTT dies when I unplug the cable. It is set to 127.0.0.1)

Just to add:  
Changing the address to 127.0.0.1 in chrome and unplugging the cable, the messages are still going.  
So that's good in some ways.

I'm guessing the script needs looking at. Though I did change the MQTT BROKER to 127.0.0.1 when I realised that a while back.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [2 December 2020 22:50 UTC](https://discourse.nodered.org/t/raspberry-pi-help-setting-up-a-second-mqtt-broker/36739/42 "2020-12-02T22:50:54Z")

</div>

_(&_!! &(\*&!!  
\*(&$O!!

I am so stupid!

(You don't have to agree)

I just looked at the script again and I goofed. Big time.

I changed it from 192.168.0.99 to 192.168.0.86.  
Not 127.0.0.1

Done now.

Sorry folks.  
But I hope I have learnt something.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [16 December 2020 22:50 UTC](https://discourse.nodered.org/t/raspberry-pi-help-setting-up-a-second-mqtt-broker/36739/43 "2020-12-16T22:50:59Z")

</div>

Closed on 16 December 2020 22:50 UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/raspberry-pi-help-setting-up-a-second-mqtt-broker/36739.md?page=2)
