# Force disconnection of TCP connection

**URL:** <https://discourse.nodered.org/t/force-disconnection-of-tcp-connection/82436>\
**Category:** General\
**Created:** [29 October 2023 07:40 UTC](https://discourse.nodered.org/t/force-disconnection-of-tcp-connection/82436 "2023-10-29T07:40:21Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [3 November 2023 11:58 UTC](https://discourse.nodered.org/t/force-disconnection-of-tcp-connection/82436/24 "2023-11-03T11:58:02Z")

</div>

PR - updated - thanks all for the good discussion.

Now

- request node  
msg.reset = true; - resets all connections;.  
msg.reset = "host:port"; - just resets that specified connection.

- Out node in reply mode  
msg.reset = true; and no msg.\_session.id - resets all clients;  
msg.reset = true; and msg.\_session.id is set - resets specified client.

---

_[View the full topic](https://discourse.nodered.org/t/force-disconnection-of-tcp-connection/82436)._
