Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managing Dynamic Port Consumption in NetMQ for Efficient Pub/Sub Applications #1103

Open
kais123456789 opened this issue Aug 29, 2024 · 0 comments

Comments

@kais123456789
Copy link

NetMQ Version: last version
Operating System: win 2019
.NET Version: net 6

I'm using NetMQ to build an application based on the Pub/Sub design pattern. When I run the publisher on a specific port and connect to it with the subscriber, I've noticed that ZMQ is consuming more than 50 dynamic ports. After running multiple instances of my application, I've exhausted all the available dynamic ports on my machine, leading to an "address in use" exception.

Is there a way to limit the number of ports used by ZMQ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant