# Connect Azure IoT Hub to node red

**URL:** <https://discourse.nodered.org/t/connect-azure-iot-hub-to-node-red/60926>\
**Category:** General\
**Tags:** node-red-dashboard\
**Created:** [7 April 2022 08:50 UTC](https://discourse.nodered.org/t/connect-azure-iot-hub-to-node-red/60926 "2022-04-07T08:50:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![moadoma](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@moadoma](https://discourse.nodered.org/u/moadoma)\
**Post date:** [7 April 2022 08:50 UTC](https://discourse.nodered.org/t/connect-azure-iot-hub-to-node-red/60926/1 "2022-04-07T08:50:07Z")

</div>

Hi! I'm having a problem with connecting my hub to node red.  
I was watching this tutorial and I have the same "Azure IoT Hub" node from "cloud", the difference is that when he edit the node in properties it says "connection string" and for me it says "Hostname", is there a way I can change that? 😊  
 ![image1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/7/a7f695b77ae4b85f52e11d5febfe191de1b3e48e.jpeg)  
 ![image0](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/b/ab4fcf8d849fe3b54e005b9be970e344ef964711.jpeg)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [7 April 2022 08:51 UTC](https://discourse.nodered.org/t/connect-azure-iot-hub-to-node-red/60926/2 "2022-04-07T08:51:32Z")

</div>

The top screenshot is set to use `http` the bottom one is set to use `mqtt`

---

<div class="post-metadata">

**Author:** ![moadoma](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@moadoma](https://discourse.nodered.org/u/moadoma)\
**Post date:** [7 April 2022 08:54 UTC](https://discourse.nodered.org/t/connect-azure-iot-hub-to-node-red/60926/3 "2022-04-07T08:54:52Z")

</div>

I am going to use mqtt, but even if I change it to http it wont change to connection string... 🤔

---

<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:** [6 June 2022 08:54 UTC](https://discourse.nodered.org/t/connect-azure-iot-hub-to-node-red/60926/4 "2022-06-06T08:54:54Z")

</div>

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