我可以从 Mac 成功 ping 到 Win10。我无法从 Mac 使用 chrome/edge 浏览器访问 jupyter。我该怎么做?
I can ping to the Win10 successfully from my Mac. I cannot access the jupyter with chrome/edge browser from my Mac. How do I do?
我是 运行 Microsoft 上的 jupyter-notebook 6.3.0 Windows [版本 10.0.19042.1165]。
我已经在 doc
之后设置了配置文件
c.NotebookApp.password = u'sha1:67c9e60bb8b6:9ffede0825894254b2e042ea597d771089e11aed'
c.NotebookApp.ip = '*'
我可以使用 chrome/edge 浏览器和 http://192.168.1.108:8888
在我的 Win10 上访问 jupyter
我可以从 Mac.
成功 ping 到 Win10 (192.168.1.108)
我无法从我的 Mac 使用 chrome/edge 浏览器访问 jupyter (http://192.168.1.108:8888) 并收到此错误
xxx is currently unable to handle this request.
HTTP ERROR 503
我该怎么做?
尝试jupyter notebook --ip <your_LAN_ip> --port 8888
然后从另一台计算机访问http://your_LAN_ip:8888
。
或者
在您的情况下,将行 c.NotebookApp.ip = '*'
替换为 c.NotebookApp.ip = '0.0.0.0'
以监听所有 IP
并添加这两行
c.NotebookApp.allow_origin = '*' # allow access from anywhere
c.NotebookApp.disable_check_xsrf = True # allow cross-site requests
建议您在访问笔记本服务器时使用密码。要设置密码,只需 运行 jupyter notebook password
。为了使其更加安全,您可以通过将参数 --certfile
和 --keyfile
传递给 jupyter notebook
来为您的服务器使用 SSL
我是 运行 Microsoft 上的 jupyter-notebook 6.3.0 Windows [版本 10.0.19042.1165]。
我已经在 doc
之后设置了配置文件c.NotebookApp.password = u'sha1:67c9e60bb8b6:9ffede0825894254b2e042ea597d771089e11aed'
c.NotebookApp.ip = '*'
我可以使用 chrome/edge 浏览器和 http://192.168.1.108:8888
我可以从 Mac.
成功 ping 到 Win10 (192.168.1.108)我无法从我的 Mac 使用 chrome/edge 浏览器访问 jupyter (http://192.168.1.108:8888) 并收到此错误
xxx is currently unable to handle this request.
HTTP ERROR 503
我该怎么做?
尝试jupyter notebook --ip <your_LAN_ip> --port 8888
然后从另一台计算机访问http://your_LAN_ip:8888
。
或者
在您的情况下,将行 c.NotebookApp.ip = '*'
替换为 c.NotebookApp.ip = '0.0.0.0'
以监听所有 IP
并添加这两行
c.NotebookApp.allow_origin = '*' # allow access from anywhere
c.NotebookApp.disable_check_xsrf = True # allow cross-site requests
建议您在访问笔记本服务器时使用密码。要设置密码,只需 运行 jupyter notebook password
。为了使其更加安全,您可以通过将参数 --certfile
和 --keyfile
传递给 jupyter notebook