Issue with docs for running a public notebook server
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
https://jupyter-notebook.readthedocs.io/en/stable/public_server.html#running-a-public-notebook-server
In summary: On the above page in the docs, replace `*` with `0.0.0.0`.
In detail:
On the above page, it recommends adding this line to your jupyter config:
```
c.NotebookApp.ip = '*'
```
to run a notebook server which can be accessed remotely. These docs are on stable and also on the docs for jupyter 4.x. When I tried that with version 4.4, I got an error:
```
File "/home/forest/.virtualenvs/venv/lib/python3.6/site-packages/traitlets/traitlets.py", line 528, in get
value = obj._trait_values[self.name]
KeyError: 'allow_remote_access'
```
The correct option is:
```
c.NotebookApp.ip = '0.0.0.0'
```
After that, I was able to run a public server. I think the `'*'` option was mixed up with this:
```
c.NotebookApp.allow_origin = '*'
```
See: https://jupyter-notebook.readthedocs.io/en/stable/config.html
Contributor guide
Assessment
This issue has not been assessed yet.