I'm learning Node-RED and trying to use its WebSockets node. I can't find any documentation that explains the difference between "listen on" and "connect to" type of sockets. Can someone explain that to me or point me in the right direction?
The WebSocket nodes can be configured to either act as a WebSocket Client or Server.
connect to a remote WebSocket server - in other words, act as a Clientlisten on a path (eg /my-websocket-endpoint) hosted by the runtime server for connections coming into it  - in other words, act as a ServerSo the choice will depend on whether you need to connect to a remote server, or listen of connections coming into your server.
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