# Mqtt in node always says connecting

**URL:** <https://discourse.nodered.org/t/mqtt-in-node-always-says-connecting/86466>\
**Category:** General\
**Tags:** mqtt\
**Created:** [15 March 2024 18:21 UTC](https://discourse.nodered.org/t/mqtt-in-node-always-says-connecting/86466 "2024-03-15T18:21:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [15 March 2024 19:03 UTC](https://discourse.nodered.org/t/mqtt-in-node-always-says-connecting/86466/3 "2024-03-15T19:03:41Z")

</div>

You have given us next to nothing to go on @daniel90.

However, the gibberish in your Server field looks similar to my setup for HiveMQ.  
You need this info from [hivemq.com](http://hivemq.com)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/d/5d1aa26ce3762367f632292017d04411a9cdf68a.png)

And access credentials from

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/b/1b4dba383a517ed8bab06679d7fb1575819f656e.png)

Then in Node-red

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/a/ba0de3a724a7bdbdc85ccbb4f0bdd4d30d8b5287.png)

Finally

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/2/b250ad210224f3e3bbe1c0f287c92603a4d1f2a4.png)

---

_[View the full topic](https://discourse.nodered.org/t/mqtt-in-node-always-says-connecting/86466)._
