Hi there, I programmed a WebSocket server in Java, with the Javax WebSocket library My operating systems are local Windows 10, Cloud Server on Ubuntu, Web Server Apache2 + Tomcat I’m doing my tests on both sides My problem; After 256 connections, other sockets are on hold and if I open some more sockets, the web server crashes and does not respond to any requests. I’ve searched the internet a lot, I applied what I saw but could not solve the problem. I thought the problem was due to java, I tried it in nodejs (npm express-ws lib), tested it locally, but the same problem happens after the 456 is connected. Please I need help I apologize for broken language. Thanks.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.