I have a web java project, where I have a server socket, when I test it on my local tomcat if it works but when I deploy the project to my domain tomcat it does not work.
When I do the local test the url is formed by ip + port + application + endpoint for example: ws: //127.0.0.1: 8080 / Socket / Connect and it works.
When I do the test in my domain the url is formed by domain + application + endpoint for example ws: //mydomain.com/Socket/Connect and it does not work.
The application if deployed well because when I access the home page mydomain.com/Socket / if I see it.
The test was done with ws and wss, in cases the connection was not completed.
Could you help me and tell me where I'm wrong?