I have a very simple node.js server that accepts and handles web socket connections.

When I run it on any platform (Linux, Windows etc) it will accept a huge number of connections (more than I need to worry about).

If I deploy the same code on an IBMi server then it stops accepting connections once it reaches 1021.

Any idea why this would be? Is there a limit built in somewhere in the OS that I need to look at. I thought about a maximum file descriptor issue but 1021 seems a bit small for it to be that.

[https://www.netcracker.com/assets/img/netcracker-social-final.png] ƕ

The information transmitted herein is intended only for the person or entity to which it is addressed and may contain confidential, proprietary and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.