×
×

Bilgi Bankası & Downloads

Bilgi bankası ekibimiz tarafından hazırlanmış dokümanlardan oluşmaktadır. Lütfen bir kategori seçin:

Articles

Tomcat: Info: WebSocket connection closed

Q: I am gettting "Info: WebSocket connection closed." when testing WebSocket examples included in Tomcat.

A: When your account is hosted on on shared server - in the examples provided by Tomcat and in your own code use the HTTP port of your Tomcat (See Java Control Panel - Ports to find your Tomcat HTTP port number) for example:
ws://alias.jvmhost.net:PORT_NUMBER_HERE/examples/websocket/echoMessage
ws://alias.jvmhost.net:PORT_NUMBER_HERE/examples/websocket/echoStream
as you cannot use default port 80 on a shared IP with WebSocket protocol.


Powered by HostBill