Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Websocket Connection limit how to set ?
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.
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.×