hemberg-lab / scRNA.seq.course

Analysis of single cell RNA-seq data course
https://www.singlecellcourse.org
GNU General Public License v3.0
670 stars 360 forks source link

can not open "file:///home/jovyan/.local/share/jupyter/runtime/nbserver-6-open.html" #165

Closed zzygyx9119 closed 4 years ago

zzygyx9119 commented 4 years ago

I pulled the docker image v4.11. Now, I tried to open "file:///home/jovyan/.local/share/jupyter/runtime/nbserver-6-open.html" in chrome, but failed. Could you please help me out? Thank you so much!

Jeff

zzygyx9119 commented 4 years ago

When I run command "docker run -it a2abb71a21c3", I got the following information:

Executing the command: jupyter notebook [I 04:13:02.876 NotebookApp] [nb_conda_kernels] enabled, 2 kernels found [I 04:13:02.891 NotebookApp] Writing notebook server cookie secret to /home/jovyan/.local/share/jupyter/runtime/notebook_cookie_secret [I 04:13:04.813 NotebookApp] JupyterLab extension loaded from /opt/conda/lib/python3.7/site-packages/jupyterlab [I 04:13:04.813 NotebookApp] JupyterLab application directory is /opt/conda/share/jupyter/lab [I 04:13:04.820 NotebookApp] Serving notebooks from local directory: /home/jovyan [I 04:13:04.820 NotebookApp] The Jupyter Notebook is running at: [I 04:13:04.821 NotebookApp] http://(89e76d999b71 or 127.0.0.1):8888/?token=6372b7bb26c8b160d55a74945e9ef7a43cf2b0e192f681fb [I 04:13:04.821 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 04:13:04.828 NotebookApp]

To access the notebook, open this file in a browser:
    file:///home/jovyan/.local/share/jupyter/runtime/nbserver-6-open.html
Or copy and paste one of these URLs:
    http://(89e76d999b71 or 127.0.0.1):8888/?token=6372b7bb26c8b160d55a74945e9ef7a43cf2b0e192f681fb

However, I couldn't access the notebook based on the above instructions.

Thank you,

Jeff

zzygyx9119 commented 4 years ago

Finally it worked out for me. I replaced "127.0.0.1" with my ip address, and tried several times. Then it worked. Thank you!

Jeff