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

How to bind to a specific interface? #132

Open
vrst37 opened this issue Oct 24, 2018 · 1 comment
Open

How to bind to a specific interface? #132

vrst37 opened this issue Oct 24, 2018 · 1 comment

Comments

@vrst37
Copy link

vrst37 commented Oct 24, 2018

I noticed that pyre engine binds to any interface that is active. How can I make it bind to a specific interface like "eth0"?

@sphaero
Copy link
Contributor

sphaero commented Oct 25, 2018

depends on which bind, the broadcasting or the communicating sockets. zbeacon binds on all (should):
https://github.com/zeromq/pyre/blob/master/pyre/zbeacon.py#L120
the receiving tcp socket is set here: https://github.com/zeromq/pyre/blob/master/pyre/pyre_node.py#L80

you could modify those?

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

2 participants