Open PhilipMay opened 5 years ago
Hello, for me the same issue with c.NotebookApp.ip = '*'
OS: Ubuntu 18.04 LTS GCP machine: Linux system02 4.15.0-1026-gcp #27-Ubuntu SMP Thu Dec 6 18:27:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Python (anaconda): 3.6
Config: cat ~/.jupyter/jupyter_notebook_config.py c = get_config() c.NotebookApp.ip = '*' c.NotebookApp.open_browser = False c.NotebookApp.port = 5000
(base) alexis@system02:~/fastai$ jupyter-notebook --no-browser --port=5000 [I 02:28:20.286 NotebookApp] [nb_conda_kernels] enabled, 0 kernels found Traceback (most recent call last): File "/home/alexis/anaconda3/lib/python3.6/site-packages/traitlets/traitlets.py", line 528, in get value = obj._trait_values[self.name] KeyError: 'allow_remote_access'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/alexis/anaconda3/lib/python3.6/site-packages/notebook/notebookapp.py", line 864, in _default_allow_remote addr = ipaddress.ip_address(self.ip) File "/home/alexis/anaconda3/lib/python3.6/ipaddress.py", line 54, in ip_address address) ValueError: '' does not appear to be an IPv4 or IPv6 address
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/alexis/anaconda3/bin/jupyter-notebook", line 11, in
This is addressed by #4139.
So can this be closed now? I am not sure...
Hmm, I'm now questioning if I misread #4139 when adding my last comment (sigh).
Are you still not finding that you can set c.NotebookApp.ip = '*'
?
Hello,
this documentation sais to use
c.NotebookApp.ip = '*'
to adress all IPs: https://github.com/jupyter/notebook/blob/bee2c389cadd1bfb3f44816b3888275414fa1c15/docs/source/public_server.rstThat is wrong and does not work (at least for me). I had to use
c.NotebookApp.ip = '0.0.0.0'