From 05981ccb0dd7ae152d07ad9cd7554b4eebd8e43d Mon Sep 17 00:00:00 2001 From: Rusty Lynch Date: Wed, 17 Jul 2019 14:14:34 -0700 Subject: [PATCH] Fix startup crasher bug socket.gaierror errors out on startup since it is unable to resolve the NetbookApp.ip address. This was reported upstream as: https://github.com/jupyter/notebook/issues/4558 Signed-of-by: Rusty Lynch --- machine-learning-ui/jupyter_notebook_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machine-learning-ui/jupyter_notebook_config.py b/machine-learning-ui/jupyter_notebook_config.py index 33ddb91..4945cae 100644 --- a/machine-learning-ui/jupyter_notebook_config.py +++ b/machine-learning-ui/jupyter_notebook_config.py @@ -1,7 +1,7 @@ c = get_config() c.ContentsManager.root_dir = "/root/" c.NotebookApp.allow_root = True -c.NotebookApp.ip = '*' +c.NotebookApp.ip = '0.0.0.0' c.NotebookApp.open_browser = False c.NotebookApp.port = 8888