azurejupyter-notebookazure-virtual-machineazure-dsvm

Jupyter on Azure can not be reached


I can not access Jupyter notebook on Data science VM in Azure clould.

What I did:

  1. create a Data Science VM for Linux. Resource group, NSG, etc are newly created.
  2. follow the instruction of the command dsvm-more-info. That is
    1. set c.NotebookApp.password (u'sha1:89this89is89a89fake89')
    2. restart jupyter
  3. access https://12.34.56.78:9999/ (The IP address is of course a fake.)

But I can not establish any connection to the server.


Solution

  • The Jupyter notebook is accessed through JupyterHub. You sign in using your local Linux user name and password.

    So, you should connect Jupyter notebook from port 8000, not 9999.

    You can access the Jupyter notebook server from any host. Just type https://<VM DNS name or IP Address>:8000/

    You also could use netstat -ant to check port listening on your VM. Port 9999 is not listening. So, you could not get it from port 9999.

    More information about Jupyter on Azure Data science VM please refer to this link. You could check Jupyter notebook.