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

Cannot access localhost:8888 #85

Open
earcz opened this issue May 8, 2018 · 5 comments
Open

Cannot access localhost:8888 #85

earcz opened this issue May 8, 2018 · 5 comments

Comments

@earcz
Copy link

earcz commented May 8, 2018

Hi,
I have just pulled docker pull continuumio/anaconda3
and then
docker run -i -t -p 8888:8888 continuumio/anaconda3 /bin/bash -c "/opt/conda/bin/conda install jupyter -y --quiet && mkdir /opt/notebooks && /opt/conda/bin/jupyter notebook --notebook-dir=/opt/notebooks --ip='*' --port=8888 --no-browser" after that, I tried to open jupyter notebook in my opera browser with this address: http://localhost:8888
There said "this site cannot be reached"
why ?

Thanks in advance.

@pixelparliament
Copy link

--ip='0.0.0.0' helped me. instead of --ip='*'

@suzuki-primestyle
Copy link

I got success by adding --allow-root

@jdblischak
Copy link

jdblischak commented Nov 8, 2018

I had to set both --ip='0.0.0.0' and --allow-root to run Jupyter. The exact command I ran was

docker run -i -t -p 8888:8888 continuumio/miniconda3 /bin/bash -c "/opt/conda/bin/conda install jupyter -y --quiet && mkdir /opt/notebooks && /opt/conda/bin/jupyter notebook --notebook-dir=/opt/notebooks --ip='0.0.0.0' --port=8888 --no-browser --allow-root"

And then I opened the following URL in my browser: http://localhost:8888/tree?token=<insert generated token>

@firebuggirl
Copy link

I had to set both --ip='0.0.0.0' and --allow-root to run Jupyter. The exact command I ran was

docker run -i -t -p 8888:8888 continuumio/miniconda3 /bin/bash -c "/opt/conda/bin/conda install jupyter -y --quiet && mkdir /opt/notebooks && /opt/conda/bin/jupyter notebook --notebook-dir=/opt/notebooks --ip='0.0.0.0' --port=8888 --no-browser --allow-root"

And then I opened the following URL in my browser: http://localhost:8888/tree?token=<insert generated token>

Thank you so much!!!!!! This is what works for me as well.

@giovixo
Copy link

giovixo commented Jan 9, 2019

I had to set both --ip='0.0.0.0' and --allow-root to run Jupyter. The exact command I ran was

docker run -i -t -p 8888:8888 continuumio/miniconda3 /bin/bash -c "/opt/conda/bin/conda install jupyter -y --quiet && mkdir /opt/notebooks && /opt/conda/bin/jupyter notebook --notebook-dir=/opt/notebooks --ip='0.0.0.0' --port=8888 --no-browser --allow-root"

And then I opened the following URL in my browser: http://localhost:8888/tree?token=<insert generated token>

Perfect. Thanks a lot!!

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

No branches or pull requests

6 participants