Skip to content

Issue with docs for running a public notebook server #4366

@lcapelluto

Description

@lcapelluto

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions