jupyter / notebook

Jupyter Interactive Notebook
https://jupyter-notebook.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
11.78k stars 5k forks source link

How to setup a notebook which can be access using public IP #4274

Open stevenang opened 5 years ago

stevenang commented 5 years ago

Hello,

I am trying to setup a google cloud compute engine to host my Jupiter notebook which I hope I can access it remotely and share with my professor for my Thesis purposes.

I tried to follow some guides over the internet to setup the server with the following configurations:

c = get_config() c.IPKernelApp.pylab = 'inline' c.NotebookApp.allow_remote_access = True c.NotebookApp.allow_origin = '*' c.NotebookApp.ip = '*' c.NotebookApp.open_browser = False c.NotebookApp.password = u'sha1:6b60aebca3e7:19373356db79fa217e7c945b55594260f55713cb' c.NotebookApp.port = 8888

however, the setting seems not working cause I keep receiving a message that the notebook can be access only using http://(jupyter or 127.0.0.1):8888/

can anyone here help me to figure out where I get wrong and how can I fix the issue?

I am using notebook version 5.6.0 (I tried 5.7.0 but it has an issue with c.NotebookApp.ip = '*')

Thank you and good day

orenovadia commented 5 years ago

c.NotebookApp.ip = '0.0.0.0'

See: https://stackoverflow.com/questions/42848130/why-i-cant-access-remote-jupyter-notebook-server

ellieandallen commented 5 years ago

c.NotebookApp.ip = '0.0.0.0'

See: https://stackoverflow.com/questions/42848130/why-i-cant-access-remote-jupyter-notebook-server

It doesn't work.

autodataming commented 4 years ago

c.NotebookApp.ip = '0.0.0.0' See: https://stackoverflow.com/questions/42848130/why-i-cant-access-remote-jupyter-notebook-server

It doesn't work.

close firewall.

you can try the simplehttpserve package to test.