# Node Red Aedes External Devices not connecting

**URL:** <https://discourse.nodered.org/t/node-red-aedes-external-devices-not-connecting/23870>\
**Category:** General\
**Created:** [30 March 2020 03:58 UTC](https://discourse.nodered.org/t/node-red-aedes-external-devices-not-connecting/23870 "2020-03-30T03:58:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pascone10](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@pascone10](https://discourse.nodered.org/u/pascone10)\
**Post date:** [30 March 2020 03:58 UTC](https://discourse.nodered.org/t/node-red-aedes-external-devices-not-connecting/23870/1 "2020-03-30T03:58:20Z")

</div>

Hello All, If there is a better place to post this question. Please let me know.. Still new to the Node-Red community.

I have used Mosquitto MQTT Broker on the Pi and just switched over to using Docker and trying to learn something new. I thought it would be easier to have a MQTT broker in Node Red. Less to maintain and all in one platform.

The issue I am having is getting other devices on my network to connect to it. Is Node-Red-Contrib-Aedes a full MQTT Broker that can be used similar to Mosquitto? If so I would appreciate any pointers on how to troubleshoot this issue.

I do have the Broker running and the Local Nodes connected.

Thank you all for your time.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [30 March 2020 05:59 UTC](https://discourse.nodered.org/t/node-red-aedes-external-devices-not-connecting/23870/2 "2020-03-30T05:59:08Z")

</div>

What did you have to "maintain" with Mosquitto that made you switch to docker ?

Docker will add a layer of complexity that in the end does not solve anything, especially on a Pi (for which there is fantastic support for Node-red).

You found your first roadblock. You need to add a port mapping to the docker container, your devices are connecting to an ip + port, which is not configured on your container, add the mapping, restart the container.

Note that when node-red is down, the broker will be down too, and certain node-red nodes require compiling parts of their packages, there is no compiler available in the container and you won't be installing those nodes easily.

I would suggest to run the applications natively without the need for containers (you can still install the mqtt broker inside node-red ofcourse).

---

<div class="post-metadata">

**Author:** ![hoolahoous](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hoolahoous/32/16612_2.png) [@hoolahoous](https://discourse.nodered.org/u/hoolahoous)\
**Post date:** [30 March 2020 05:59 UTC](https://discourse.nodered.org/t/node-red-aedes-external-devices-not-connecting/23870/3 "2020-03-30T05:59:39Z")

</div>

yes. i have been used Node-Red-Contrib-Aedes with 0 issues.

---

<div class="post-metadata">

**Author:** ![pascone10](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@pascone10](https://discourse.nodered.org/u/pascone10)\
**Post date:** [30 March 2020 12:25 UTC](https://discourse.nodered.org/t/node-red-aedes-external-devices-not-connecting/23870/4 "2020-03-30T12:25:48Z")

</div>

HI bakman2, Thank you for your reply. Honestly I just wanted to understand what all the hype was about with Docker. I have much to learn with this stuff and everything new thing I try I get a little further. Can you please give me you point of view on Docker and when/if it should be considered to be used?

I am OK with node-red and the MQTT Broker being tied at the hip, as everything I am doing right now requires both.

Can you teach me a little on what the compiler does for nodes so I can commit that one to memory.

Thank you again for for your time.

---

<div class="post-metadata">

**Author:** ![pascone10](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@pascone10](https://discourse.nodered.org/u/pascone10)\
**Post date:** [30 March 2020 23:06 UTC](https://discourse.nodered.org/t/node-red-aedes-external-devices-not-connecting/23870/5 "2020-03-30T23:06:12Z")

</div>

This was the video I referenced. I thought the idea was pretty cool. Primarily I will use MQTT and Node Red. I wanted to dabble in Grafana.

Can you give some pointers on why not to do it this way?

---

<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:** [29 May 2020 23:14 UTC](https://discourse.nodered.org/t/node-red-aedes-external-devices-not-connecting/23870/6 "2020-05-29T23:14:16Z")

</div>

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