CanvasArcades Example WebSocket Scenarios for Node.js:
For sites hosted through Passenger with us:
- WebSocket (ws) for the Passenger server,
- WebSocket Secure (wss) for the Passenger server (requires adding an SSL certificate, a free Let's Encrypt certificate can be generated in our panel).
For hosting sites without Passenger (i.e., reserving your own port, binding to it, and adding a proxy type page):
- WebSocket (ws) for the proxy to the server running on the port,
- WebSocket Secure (wss) for the proxy to the server running on the port (requires adding an SSL certificate, a free Let's Encrypt certificate can be generated in our panel, but the application itself must listen on the port with SSL, including certificate handling).