安装好后运行config
jupyter lab --generate-config
而后
vi ~/.jupyter/jupyter_lab_config.py
修改其中ip和port
# c.ServerApp.ip = 'localhost'
c.ServerApp.ip = '*'
## The port the Jupyter server will listen on.
# Default: 8888
# c.ServerApp.port = 8888
安装好后运行config
jupyter lab --generate-config
而后
vi ~/.jupyter/jupyter_lab_config.py
修改其中ip和port
# c.ServerApp.ip = 'localhost'
c.ServerApp.ip = '*'
## The port the Jupyter server will listen on.
# Default: 8888
# c.ServerApp.port = 8888