I wonder if it's possible to use websockets between 2 webservers instead of between a browser and backend?
Im running 2 node.js servers and want to exchange data between them.
Try to look at node2node-socket.io or Socket.io-node-client modules. However I would say that you should stick to built-in net module with pure sockets if you are communicating only between web servers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With