By default, WCS uses the port 8080 to receive Websocket connections and the port 8443 to receive Secure Websocket connections.

To connect to the WCS server via the Secure Websockets protocol using Web SDK, pass the urlServer parameter as wss to the Flashphoner.createSession() function.

Example:

Flashphoner.createSession({urlServer:'wss://192.168.1.5:8443'});