Sla*_*ast 0 python networking localhost jupyter-lab
是否可以运行安装在本地网络的另一台计算机上的 Jupyter 实验室或笔记本?类似于 192.168.1.8:port_address
是的,当然可以。使用以下命令启动 jupyter 笔记本:
jupyter notebook --ip <your_LAN_ip> --port 8888
Run Code Online (Sandbox Code Playgroud)
然后访问:
http://your_LAN_ip:8888
Run Code Online (Sandbox Code Playgroud)
从另一台计算机。您可以轻松地将端口号 8888 更改为您想要的任何数字,例如 6006。
建议您在访问笔记本服务器时使用密码。要设置密码,只需运行 jupyternotebookpassword 即可。否则,其他人可以访问您的笔记本。
以下是设置笔记本密码的链接:https://jupyter-notebook.readthedocs.io/en/latest/public_server.html#notebook-server-security