How to setup a notebook which can be access using public IP
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
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
Contributor guide
Research direction
Start with the shown NotebookApp settings and the notebook server's access URL; verify how notebook 5.6.0 interprets c.NotebookApp.ip, allow_remote_access, and port 8888. Done means the server can be accessed through the Google Cloud Compute Engine public IP rather than only localhost.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- google-cloud, jupyter-notebook
- Domain
- cloud, networking
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100