# Connection to MQTT broker not possible

**URL:** <https://discourse.nodered.org/t/connection-to-mqtt-broker-not-possible/42455>\
**Category:** General\
**Created:** [11 March 2021 08:38 UTC](https://discourse.nodered.org/t/connection-to-mqtt-broker-not-possible/42455 "2021-03-11T08:38:44Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [12 March 2021 10:24 UTC](https://discourse.nodered.org/t/connection-to-mqtt-broker-not-possible/42455/21 "2021-03-12T10:24:34Z")

</div>

> [@BenSch](#):
>
> As long as I don´t upgrade mosquitto broker it shouldn´t override the config file.

The question is will you remember that in 9 months time, and after you upgrade it and it fails will you remember what you have to do to fix it?

---

<div class="post-metadata">

**Author:** ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)\
**Post date:** [12 March 2021 10:57 UTC](https://discourse.nodered.org/t/connection-to-mqtt-broker-not-possible/42455/22 "2021-03-12T10:57:32Z")

</div>

this is true .. i had 2.0.4 on my windows machine and updated to 2.0.8 and the config file was wiped to defaults. I guess this is one of those problems that human intervention is needed 😉

@BenSch make a backup of your config, keep your notes on the installation process and you can also bookmark some posts on this forum by clicking on the three dots and using the ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/3/93d8b1bfdc9c86e9d647b373ef69e6d307da1bef.png) icon. that you can later access easily by clicking on your icon on the top right corner and selecting Bookmarks.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [12 March 2021 11:36 UTC](https://discourse.nodered.org/t/connection-to-mqtt-broker-not-possible/42455/23 "2021-03-12T11:36:10Z")

</div>

I posted earlier how to get round the problem on a Linux system (Debian based at least). For Windows the recommended solution is apparently to copy the installed file somewhere else and modify it there, then when mosquitto is run tell it to use that conf file.

---

<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:** [26 March 2021 11:36 UTC](https://discourse.nodered.org/t/connection-to-mqtt-broker-not-possible/42455/24 "2021-03-26T11:36:49Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/connection-to-mqtt-broker-not-possible/42455.md?page=1)
