WebSockets Print

  • 0

Websocket is a bidirectional, stateful protocol used for client-server communication.  Being stateful means the connection between client and server will be kept alive until it is terminated by either client or server.  Websockets supports ws://(non-secure) and wss://(secure) 

Non-secure (ws) WebSockets in Javapipe

Our tomcat servers by default supports non-secure (ws) WebSockets.  To access WebSockets you will need to access the application directly over the tomcat port as the tomcat connector which enables you to access tomcat on port 80 does not support WebSocket.

Tomcat ports are allocated once the order is processed and the details are included in the Welcome email.

Secure (wss) WebSockets in Javapipe

To enable secure WebSocket (wss) please request the support team via ticket to allocate a custom port. You can then enable tomcat to listen on that port for WebSocket connections. Please refer to Setting up SSL for WebSockets on our KB

How to test WebSockets

You can use the chrome plugin “WebSocket Test Client” to test the WebSockets to insure they are working. The extension can be downloaded from Chrome WebSocket Extension

Was this answer helpful?

« Back