I'm trying to publish a tmpnb server, but am stuck. Following the 
Quickstart here <https://github.com/jupyter/tmpnb>, I can run the server 
locally and access it at 172.17.0.1:8000.
However, I can't access the server remotely. I've tried adding -p 8000:8000 
when I create the proxy container with the following command:

docker run -it -p 8000:8000 --net=host -d -e CONFIGPROXY_AUTH_TOKEN=$TOKEN 
--name=proxy jupyter/configurable-http-proxy --default-target 
http://127.0.0.1:9999

but when I go to the <machine's ip address>:8000 my browser still returns 
"This site can't be reached."

The logs for proxy are:
docker logs --details 45d836f98450
 08:33:20.981 - info: [ConfigProxy] Proxying http://*:8000 to 
http://127.0.0.1:9999
 08:33:20.988 - info: [ConfigProxy] Proxy API at 
http://localhost:8001/api/routes

I think my problem is in understanding how to publish the proxy port 
(rather than an issue with the network) because I can run the 
minimal-notebook image with <docker run -d -it --rm -p 8888:8888 
jupyter/minimal-notebook> and access it at <machine's ip address>:8888.

What am I missing?

I'm working on an Ubuntu 16.04 machine with Docker 17.03.0-ce

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/2a0eeda9-a271-417a-963c-c0dd9153c322%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to