Client communication protocols

For end client communication the platform supports both HTTPS and WSS (secure websockets) in addition to HTTP and WS.

The main and preferred communication protocol is Websockets ('WS'). This uses port 5000 and WSS uses port 5004. If the desired Websockets port is closed then LViS falls back to long polling over HTTP/HTTPS, which takes place on ports 80 and 443.

HTTPS/WSS is a heavier protocol, so communication is expected to be slower than via HTTP/WS.

We recommend using HTTPS only if any of these is true:

  • There is data which needs to be protected in transit

  • You are forced to embed your WebApp in a HTTPS-only page