# TCP Request: how to change address and close connection?

**URL:** <https://discourse.nodered.org/t/tcp-request-how-to-change-address-and-close-connection/81029>\
**Category:** General\
**Created:** [4 September 2023 09:21 UTC](https://discourse.nodered.org/t/tcp-request-how-to-change-address-and-close-connection/81029 "2023-09-04T09:21:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![protonmw](https://avatars.discourse-cdn.com/v4/letter/p/b3f665/32.png) [@protonmw](https://discourse.nodered.org/u/protonmw)\
**Post date:** [4 September 2023 09:21 UTC](https://discourse.nodered.org/t/tcp-request-how-to-change-address-and-close-connection/81029/1 "2023-09-04T09:21:16Z")

</div>

Hi experts!

Nodered is running on a raspberry pi (up-to-date) in a working environment with 2 identical SCPI measurement devices on different IP address. I need to communicate with one of them (user chooses wich one) but the connection to the other device must be (held) closed.

The SCPI devices have some requests with answers, but also some commands without any answer/reaction.

How can I achieve this?

---

<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:** [3 November 2023 09:22 UTC](https://discourse.nodered.org/t/tcp-request-how-to-change-address-and-close-connection/81029/2 "2023-11-03T09:22:10Z")

</div>

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