# Connecting to a Broker - Non Local - MQTT

**URL:** <https://discourse.nodered.org/t/connecting-to-a-broker-non-local-mqtt/40236>\
**Category:** General\
**Created:** [2 February 2021 13:10 UTC](https://discourse.nodered.org/t/connecting-to-a-broker-non-local-mqtt/40236 "2021-02-02T13:10:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![georgey11](https://avatars.discourse-cdn.com/v4/letter/g/48db29/32.png) [@georgey11](https://discourse.nodered.org/u/georgey11)\
**Post date:** [2 February 2021 13:10 UTC](https://discourse.nodered.org/t/connecting-to-a-broker-non-local-mqtt/40236/1 "2021-02-02T13:10:52Z")

</div>

So, basically i have 2 raspberry pi. One with Facial Recognition successfully sending the name of the face recognized to the broker.

On my second Pi, i am running Node-red and want to subscribe to this.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/8/8898c5a075b69c24ad9095e4669468174ad3d94d.png)

Any idea on how to do this?

---

<div class="post-metadata">

**Author:** ![georgey11](https://avatars.discourse-cdn.com/v4/letter/g/48db29/32.png) [@georgey11](https://discourse.nodered.org/u/georgey11)\
**Post date:** [2 February 2021 13:12 UTC](https://discourse.nodered.org/t/connecting-to-a-broker-non-local-mqtt/40236/2 "2021-02-02T13:12:18Z")

</div>

In sever is it the Broker ID - 127.0.0.1  
or that raspberry pi's IP Address

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [2 February 2021 13:29 UTC](https://discourse.nodered.org/t/connecting-to-a-broker-non-local-mqtt/40236/3 "2021-02-02T13:29:12Z")

</div>

It would be the ip address where the broker is running.

---

<div class="post-metadata">

**Author:** ![georgey11](https://avatars.discourse-cdn.com/v4/letter/g/48db29/32.png) [@georgey11](https://discourse.nodered.org/u/georgey11)\
**Post date:** [2 February 2021 13:43 UTC](https://discourse.nodered.org/t/connecting-to-a-broker-non-local-mqtt/40236/4 "2021-02-02T13:43:47Z")

</div>

Literally just got it going, thanks

---

<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 February 2021 13:43 UTC](https://discourse.nodered.org/t/connecting-to-a-broker-non-local-mqtt/40236/5 "2021-02-16T13:43:56Z")

</div>

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