# MQTT Dynamic connection with changing IP Adress

**URL:** https://discourse.nodered.org/t/mqtt-dynamic-connection-with-changing-ip-adress/69299
**Category:** General
**Tags:** mqtt
**Created:** [20 October 2022 05:38 UTC](https://discourse.nodered.org/t/mqtt-dynamic-connection-with-changing-ip-adress/69299 "2022-10-20T05:38:37Z")
**Posts on this page:** 1
**Showing post:** 3

<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: [20 October 2022 06:49 UTC](https://discourse.nodered.org/t/mqtt-dynamic-connection-with-changing-ip-adress/69299/3 "2022-10-20T06:49:42Z")

</div>

It is easy to configure a PI with a fixed IP address by setting it up in /etc/dhcpcd.conf.  
I think that file probably includes a commented out example of how to do it. In case you can't work it out I will post again later showing how to do it.

---

_[View the full topic](https://discourse.nodered.org/t/mqtt-dynamic-connection-with-changing-ip-adress/69299)._
