# IP address change

**URL:** <https://discourse.nodered.org/t/ip-address-change/44418>\
**Category:** General\
**Created:** [19 April 2021 18:35 UTC](https://discourse.nodered.org/t/ip-address-change/44418 "2021-04-19T18:35:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jlu](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@Jlu](https://discourse.nodered.org/u/Jlu)\
**Post date:** [19 April 2021 18:35 UTC](https://discourse.nodered.org/t/ip-address-change/44418/1 "2021-04-19T18:35:16Z")

</div>

Good evening to everyone!

I am using my raspberry Pi as a portable device with node-red. Networks that I am trying to connect to have different addresses, and by the experience I can tell that I am able to reach my device through SSH on every network, but node-red is working only there where it has been created. On every other network I am getting this respond on "sudo systemctl status nodered.service" : code - exited, status=1 /failure.

When I get back to my home network, all of the sudden it start working properly. IP addresses collision is not an issue, I have checked it already.

May I ask, if anyone has some ideas where could be a problem and how to fix it?

Thank you in advance 🙂

---

<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:** [19 April 2021 20:18 UTC](https://discourse.nodered.org/t/ip-address-change/44418/2 "2021-04-19T20:18:00Z")

</div>

I presume you mean that you are connecting to the pi using ssh.

What does  
`node-red-stop`  
`node-red-start`  
show?

---

<div class="post-metadata">

**Author:** ![Jlu](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@Jlu](https://discourse.nodered.org/u/Jlu)\
**Post date:** [22 April 2021 16:27 UTC](https://discourse.nodered.org/t/ip-address-change/44418/3 "2021-04-22T16:27:03Z")

</div>

Thank you for your quick reaction 🙂

After run of those commands I have received more detailed information, and it turned out that the flow itself was buggy. I have been using some modules to create TCP communication, and in the server settings I had defined localhost not by phrase, but by the address of the raspberry. So after connecting to a different network it caused an error on startup.

In my case, in order to at least run the node-red was to move buggy flow to a backup folder and after reconnection to the original network I have moved it back and changed that fixed IP address to a phrase for localhost.

Thank you so much for a clue 🙂 it helped me to crack it. Have a nice day!

---

<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 May 2021 16:27 UTC](https://discourse.nodered.org/t/ip-address-change/44418/4 "2021-05-06T16:27:11Z")

</div>

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