# Each livequery opens new websocket connection from client to server

**URL:** <https://community.parseplatform.org/t/each-livequery-opens-new-websocket-connection-from-client-to-server/1440>\
**Category:** Parse Server 📡\
**Tags:** live-query\
**Created:** [March 12, 2021, 10:56am UTC](https://community.parseplatform.org/t/each-livequery-opens-new-websocket-connection-from-client-to-server/1440 "2021-03-12T10:56:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sibis](https://community.parseplatform.org/user_avatar/community.parseplatform.org/sibis/32/466_2.png) [@sibis](https://community.parseplatform.org/u/sibis)\
**Post date:** [March 12, 2021, 10:56am UTC](https://community.parseplatform.org/t/each-livequery-opens-new-websocket-connection-from-client-to-server/1440/1 "2021-03-12T10:56:09Z")

</div>

Currently, I have two live query subscriptions from the client but the browser opens two different sockets for each live query which occupies two ports on the server. Can we have one connection opened for all the subscriptions?

---

<div class="post-metadata">

**Author:** ![cbaker6](https://community.parseplatform.org/user_avatar/community.parseplatform.org/cbaker6/32/114_2.png) [@cbaker6](https://community.parseplatform.org/u/cbaker6)\
**Post date:** [March 12, 2021, 11:27pm UTC](https://community.parseplatform.org/t/each-livequery-opens-new-websocket-connection-from-client-to-server/1440/2 "2021-03-12T23:27:16Z")

</div>

This sounds SDK specific, I’m assuming you mean the JS SDK does this since you mentioned “browser”?

---

<div class="post-metadata">

**Author:** ![dplewis](https://community.parseplatform.org/user_avatar/community.parseplatform.org/dplewis/32/233_2.png) [@dplewis](https://community.parseplatform.org/u/dplewis)\
**Post date:** [March 13, 2021, 1:24am UTC](https://community.parseplatform.org/t/each-livequery-opens-new-websocket-connection-from-client-to-server/1440/3 "2021-03-13T01:24:35Z")

</div>

Can you post an example of your websocket frames?  
Here are mine. I have one connection that handles all my subscriptions.

 ![Screen Shot 2021-03-12 at 7.22.37 PM](https://parse-community-forum-uploads.s3.dualstack.us-east-1.amazonaws.com/original/1X/ace7c2af860ecaacf5a349196bbe76248fbf461d.png)
