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 do specify host for ZMQ? #102

Open
jldork opened this issue Feb 19, 2016 · 2 comments
Open

How do specify host for ZMQ? #102

jldork opened this issue Feb 19, 2016 · 2 comments
Labels

Comments

@jldork
Copy link

jldork commented Feb 19, 2016

When I run python -m ipykernel -f <connection file>, the ZMQ ports are bound on localhost. Is there any way to specify a different host?

I tried changing the IP key in the connection.json file, but it didn't work.

@takluyver
Copy link
Member

The IP in the connection file is what clients use to connect. I think it's the nature of sockets that you can only bind on the machine you're running on. If you need the sockets exposed by another system, you'd need to set up some kind of forwarding. @minrk can tell you more.

@minrk
Copy link
Member

minrk commented Feb 20, 2016

Changing the IP in the connection file ought to work. What did you change it to and how did it fail?

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

No branches or pull requests

3 participants