according to the docs:
hub_bind_url: The URL on which the Hub will listen. This is a private URL for internal communication.
hub_connect_url: The URL for connecting to the Hub. Spawners, services, and the proxy will use this URL to talk to the Hub.
We deploy jupyterhub inside a docker container, and therefore based on my understanding of the docs, here’s my settings:
c.JupyterHub.hub_bind_url = “http://127.0.0.1:CONTAINER_PORT”
c.JupyterHub.hub_connect_url = “http://EXTERNAL_IP:HOST_PORT”
so that the hub will bind on the CONTAINER_PORT inside the docker container.
For other services to link to it, it have to use http://EXTERNAL_IP:HOST_PORT
However, when I did this, the hub server keep register the 127.0.0.1:CONTAINER_PORT to CHP, which is not accessible from external world, and therefore I can never go from CHP to the hub server itself.
Wondering if I misunderstand anything or this is a bug? (I am using jupyterhub 1.0.0, but 1.1.0 seems have exactly the same code on related files)