WebSocket blocked in some way for my web application jsp java
Hi, i deployed my web app on Tomcat 9.0.74. All works well less than a websocket implemented in my app for manage a chat function. On local all works well. On this environment, changing the client search address from "ws://localhost:9090/chat" to "wss://myHost/chat" do not work. The problem can be in the server.xml file of tomcat/conf? For web socket i looked that it need to set the Connector for TLS with che certificates of the connection. If this is the solution how can i get the certificates in the correct way?
-
Hey there! Usually the port number setting is handled in the proxypass settings related to the app. I'd recommend reading through the details here:
https://support.cpanel.net/hc/en-us/community/posts/19136899671703-Apache2-and-Tomcat9-Configuration
see if that will resolve your issue.
0
Please sign in to leave a comment.
Comments
1 comment