From 368f8275e1644156630c524d78bb15afad84eaff Mon Sep 17 00:00:00 2001 From: Simon Li Date: Mon, 27 Jan 2025 20:36:27 +0000 Subject: [PATCH] jupyter_server_config.py: Listen on all interfaces (ipv4 and ipv6) --- images/base-notebook/jupyter_server_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/base-notebook/jupyter_server_config.py b/images/base-notebook/jupyter_server_config.py index c0cca3af..a8816034 100644 --- a/images/base-notebook/jupyter_server_config.py +++ b/images/base-notebook/jupyter_server_config.py @@ -9,7 +9,8 @@ from pathlib import Path from jupyter_core.paths import jupyter_data_dir c = get_config() # noqa: F821 -c.ServerApp.ip = "0.0.0.0" +# Listen on all interfaces (ipv4 and ipv6) +c.ServerApp.ip = "" c.ServerApp.open_browser = False # to output both image/svg+xml and application/pdf plot formats in the notebook file