# Connecting Adafruit to the Mqtt node

**URL:** <https://discourse.nodered.org/t/connecting-adafruit-to-the-mqtt-node/11499>\
**Category:** General\
**Created:** [24 May 2019 11:58 UTC](https://discourse.nodered.org/t/connecting-adafruit-to-the-mqtt-node/11499 "2019-05-24T11:58:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aesto](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@aesto](https://discourse.nodered.org/u/aesto)\
**Post date:** [24 May 2019 11:58 UTC](https://discourse.nodered.org/t/connecting-adafruit-to-the-mqtt-node/11499/1 "2019-05-24T11:58:12Z")

</div>

Hello,

Recently, I have been trying to connect the mqtt node on Node-Red to adafruit server. Unfortunately, it is failing to connect although it keeps on trying as shown in the screenshot below. I have configured the node correctly as shown by the following website, but no good. I have updated node red to the latest version and still.

[https://learn.adafruit.com/welcome-to-adafruit-io/mqtt-api-documentation](https://learn.adafruit.com/welcome-to-adafruit-io/mqtt-api-documentation)

I have a working network connection and my IoT can ping the host url:

[io.adafruit.com](https://support.industry.siemens.com/tf/ww/en/addthread/303/io.adafruit.com)

Have anybody tried using the adafruit server before or had his/her project working.

P.S: my mqtt node can connect with the localhost server.

Your time and work are highly appreciated. Thanks in advance.

Best Regards,

oibrahim

 ![mqtt-node](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/3/3218d3d07a33878e7fc9248c6eeb2fdcd52cf2eb.png)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [24 May 2019 12:56 UTC](https://discourse.nodered.org/t/connecting-adafruit-to-the-mqtt-node/11499/2 "2019-05-24T12:56:29Z")

</div>

Why did you open a new thread? This is the same question you asked yesterday.

If MQTT works locally then it is an issue with the Adafruit system. Maybe you haven’t set up security correctly. You probably should ask on their forum

---

<div class="post-metadata">

**Author:** ![aesto](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@aesto](https://discourse.nodered.org/u/aesto)\
**Post date:** [24 May 2019 13:19 UTC](https://discourse.nodered.org/t/connecting-adafruit-to-the-mqtt-node/11499/3 "2019-05-24T13:19:56Z")

</div>

Thank you.

---

<div class="post-metadata">

**Author:** ![aesto](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@aesto](https://discourse.nodered.org/u/aesto)\
**Post date:** [27 May 2019 07:29 UTC](https://discourse.nodered.org/t/connecting-adafruit-to-the-mqtt-node/11499/4 "2019-05-27T07:29:56Z")

</div>

It was a problem with the local network permission. The given Adafruit ports were blocked.  
Sorry for the inconvenience.  
Thanks again.
