# How many clients can connect to the websocket server?

**URL:** <https://discourse.nodered.org/t/how-many-clients-can-connect-to-the-websocket-server/86334>\
**Category:** General\
**Created:** [11 March 2024 12:09 UTC](https://discourse.nodered.org/t/how-many-clients-can-connect-to-the-websocket-server/86334 "2024-03-11T12:09:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sercancetin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sercancetin/32/50083_2.png) [@sercancetin](https://discourse.nodered.org/u/sercancetin)\
**Post date:** [11 March 2024 12:09 UTC](https://discourse.nodered.org/t/how-many-clients-can-connect-to-the-websocket-server/86334/1 "2024-03-11T12:09:21Z")

</div>

Hello dear node-red masters,

I'm just asking for confirmation. I am testing how many clients can connect to the websocket server. According to my observations, each websocket server accepts a maximum of 232 clients. Is it true?

 ![Screenshot_3](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/5/25a3380ce914116b6f268cd768171b42ce285ce5.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:** [11 March 2024 12:38 UTC](https://discourse.nodered.org/t/how-many-clients-can-connect-to-the-websocket-server/86334/2 "2024-03-11T12:38:56Z")

</div>

I am not aware of any hard limits being set.

In case someone with more knowledge comes along, they may wish to know how node-red is running and some other system info e.g:

- Node-RED running on OS / docker / container / VM?
- Node-RED version?
- NodeJS version?
- OS + OS Version that Node-RED is running on (e.g. windows desktop 11, windows server 2019 / Ubuntu 22.04 / Alpine image Vxxx)

---

<div class="post-metadata">

**Author:** ![sercancetin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sercancetin/32/50083_2.png) [@sercancetin](https://discourse.nodered.org/u/sercancetin)\
**Post date:** [11 March 2024 12:51 UTC](https://discourse.nodered.org/t/how-many-clients-can-connect-to-the-websocket-server/86334/4 "2024-03-11T12:51:46Z")

</div>

What you say is true. I tried this on another node red device (on Docker) and over 1000 clients were able to connect.

A maximum of 232 nodes can be connected to Node-Red installed on Windows 11.

Note:  
Node-Red version in Windows 11 = 3.1.0  
Node-Red on Docker version = 3.1.1

---

<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:** [11 March 2024 12:58 UTC](https://discourse.nodered.org/t/how-many-clients-can-connect-to-the-websocket-server/86334/5 "2024-03-11T12:58:22Z")

</div>

> [@sercancetin](#):
>
> A maximum of 232 nodes can be connected to Node-Red installed on Windows 11

I did suspect (desktop) windows might be involved. From memory, Windows (desktop) has a limit on concurrent TCP connections.

If you have access to Windows Server, I'd be interested to learn what number you get to.

---

<div class="post-metadata">

**Author:** ![sercancetin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sercancetin/32/50083_2.png) [@sercancetin](https://discourse.nodered.org/u/sercancetin)\
**Post date:** [11 March 2024 14:50 UTC](https://discourse.nodered.org/t/how-many-clients-can-connect-to-the-websocket-server/86334/6 "2024-03-11T14:50:24Z")

</div>

Thank you for your interest. The node-red we use runs on docker. Actually there is no problem for now.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [17 March 2024 22:12 UTC](https://discourse.nodered.org/t/how-many-clients-can-connect-to-the-websocket-server/86334/7 "2024-03-17T22:12:28Z")

</div>

> [@sercancetin](#):
>
> A maximum of 232 nodes can be connected to Node-Red installed on Windows 11.

> [@Steve-Mcl](#):
>
> Windows (desktop) has a limit on concurrent TCP connections.

It certainly always used to have. Though I vaguely remember that you can change it manually. That was back in W10 days though, not sure if it is still true.

W10/W11 are desktop OS's and not designed to have large numbers of inbound connections.

---

<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:** [31 March 2024 22:12 UTC](https://discourse.nodered.org/t/how-many-clients-can-connect-to-the-websocket-server/86334/8 "2024-03-31T22:12:49Z")

</div>

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