# Modbus TCP IP a variable?

**URL:** <https://discourse.nodered.org/t/modbus-tcp-ip-a-variable/38290>\
**Category:** General\
**Created:** [30 December 2020 16:15 UTC](https://discourse.nodered.org/t/modbus-tcp-ip-a-variable/38290 "2020-12-30T16:15:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![traderjoe](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@traderjoe](https://discourse.nodered.org/u/traderjoe)\
**Post date:** [30 December 2020 16:15 UTC](https://discourse.nodered.org/t/modbus-tcp-ip-a-variable/38290/1 "2020-12-30T16:15:52Z")

</div>

I'm using Modbus TCP. Can the client IP be a variable?

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

---

<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:** [30 December 2020 16:22 UTC](https://discourse.nodered.org/t/modbus-tcp-ip-a-variable/38290/2 "2020-12-30T16:22:27Z")

</div>

It can likely be an environment variable. E.g. `${IP}`

---

<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:** [28 February 2021 16:22 UTC](https://discourse.nodered.org/t/modbus-tcp-ip-a-variable/38290/3 "2021-02-28T16:22:41Z")

</div>

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