# MQTT remains connecting while settings have been changed

**URL:** https://discourse.nodered.org/t/mqtt-remains-connecting-while-settings-have-been-changed/84384
**Category:** General
**Tags:** mqtt
**Created:** [8 January 2024 09:45 UTC](https://discourse.nodered.org/t/mqtt-remains-connecting-while-settings-have-been-changed/84384 "2024-01-08T09:45:46Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [8 January 2024 10:21 UTC](https://discourse.nodered.org/t/mqtt-remains-connecting-while-settings-have-been-changed/84384/2 "2024-01-08T10:21:45Z")

</div>

> [@bakman2](#):
>
> I do not have a good indication if the node is properly disconnecting and trying to reconnect

when you deploy a change to a node, it is destroyed and re-created.

> [@bakman2](#):
>
> I am trying to connect, but the mqtt node keeps its label as "connecting" and whatever settings I change it remains connecting

Then you either dont have the settings correct or it is unreachable.

Are you using latest Node-RED?

You can also try dynamic connection and disconnect actions while testing. Demo here: [Dynamic MQTT node's "actions-\>connect" guidance needed - #2 by Steve-Mcl](https://discourse.nodered.org/t/dynamic-mqtt-nodes-actions-connect-guidance-needed/58878/2)

---

_[View the full topic](https://discourse.nodered.org/t/mqtt-remains-connecting-while-settings-have-been-changed/84384)._
