# P5 node server with socket.io and websocket protocoll

**URL:** <https://discourse.processing.org/t/p5-node-server-with-socket-io-and-websocket-protocoll/25871>\
**Category:** Libraries\
**Created:** [December 1, 2020, 6:48pm UTC](https://discourse.processing.org/t/p5-node-server-with-socket-io-and-websocket-protocoll/25871 "2020-12-01T18:48:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theo68](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/theo68/32/8138_2.png) [@Theo68](https://discourse.processing.org/u/Theo68)\
**Post date:** [December 1, 2020, 6:48pm UTC](https://discourse.processing.org/t/p5-node-server-with-socket-io-and-websocket-protocoll/25871/1 "2020-12-01T18:48:12Z")

</div>

I have created a P5 server node with [socket.io](http://socket.io). at locahost: 4000. I can also connect to it from the wifi network of my devices ( laptop, mobile).  
Can I integrate websocket protocol for communication with esp32 device in another port ??? eg 8000 ???
