# TCP request Node Programmatically dis/re-connect

**URL:** https://discourse.nodered.org/t/tcp-request-node-programmatically-dis-re-connect/69374
**Category:** General
**Created:** [21 October 2022 11:29 UTC](https://discourse.nodered.org/t/tcp-request-node-programmatically-dis-re-connect/69374 "2022-10-21T11:29:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![AAlmarwani93](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aalmarwani93/32/69501_2.png) [@AAlmarwani93](https://discourse.nodered.org/u/AAlmarwani93)
#### Post date: [21 October 2022 11:29 UTC](https://discourse.nodered.org/t/tcp-request-node-programmatically-dis-re-connect/69374/1 "2022-10-21T11:29:39Z")

</div>

Hello everyone,

I have a tcp request node that is kept at never close connection. My other endpoint sometimes disconnects for 1-2 minutes from the network and I would like to programmatically disconnect the TCP request node and Re-connect the TCP request node.

Is this possible ? if not what suggestion do you have to do this?

regards

---

<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: [20 December 2022 11:30 UTC](https://discourse.nodered.org/t/tcp-request-node-programmatically-dis-re-connect/69374/2 "2022-12-20T11:30:08Z")

</div>

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