我已按照http://jupyter-notebook.readthedocs.io/en/stable/public_server.html上的指示设置了Jupyter服务器。我可以通过anaconda提示符运行它,并获得以下输出:
C:\Users\adamimos>jupyter lab --ip=* --no-browser
[I 16:10:53.627 LabApp] JupyterLab beta preview extension loaded from C:\Users\adamimos\Anaconda3\lib\site-packages\jupyterlab
[I 16:10:53.627 LabApp] JupyterLab application directory is C:\Users\adamimos\Anaconda3\share\jupyter\lab
[I 16:10:53.798 LabApp] Serving notebooks from local directory: C:\Users\adamimos
[I 16:10:53.798 LabApp] 0 active kernels
[I 16:10:53.798 LabApp] The Jupyter Notebook is running at:
[I 16:10:53.798 LabApp] https://DESKTOP-TCCSP57:9999/
[I 16:10:53.798 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 16:11:37.581 LabApp] 302 GET / (172.25.101.65) 1.00ms
然后,在运行服务器的同一台计算机上,我可以通过输入浏览器进行连接:https://172.25.101.65:9999
但是,当我转到另一台计算机并尝试使用全局ip地址执行相同的操作时,我得到了“花费太长时间来响应”。错误。我尝试关闭两台计算机上的防火墙。