I am running an ipcluster on a linux host. The setup is very similar to this SO question (https://stackoverflow.com/a/31479269/2146052).
I have the following adjustments to my ipcontroller_config.py
myip = '*'
c.HubFactory.engine_ip = myip
c.HubFactory.client_ip = myip
c.HubFactory.monitor_ip = myip
c.HubFactory.ip = myip
c.HubFactory.iopub = (10001, 10002)
c.HubFactory.control = (10003,10004)
c.HubFactory.task = (10005,10006)
c.HubFactory.mux = (10007,10008)
c.HubFactory.regport = 10009
c.HubFactory.hb = (10010,10011)
c.HubFactory.notifier_port = 10012
I start the docker container as
docker run -it --rm -p 10000-10012:10000-10012 <myimg> /bin/bash
ipcluster start -n4
The ipcluster starts ok but when I try to connect I get Hub connection timeout
. This error does not occur if I run the same configuration outside of docker. Do I need to make a further adjustment beyond the simple port forwarding?