Publish tmpnb

34 views
Skip to first unread message

Chandler Kemp

unread,
Mar 9, 2017, 4:19:47 AM3/9/17
to Project Jupyter
I'm trying to publish a tmpnb server, but am stuck. Following the Quickstart here, 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
Reply all
Reply to author
Forward
0 new messages