【jupyter notebook】开启远程服务 遇到No address associated with hostname

jupyter 网络端口配置问题

遇到这个问题,主要原因是网络配置问题导致的无法正确解析。

  • 首先确认是否正确配置的config文件:
    JupyterNotebook配置远程登录

  • 如果正确配置后依然出现上述问题,尝试将监听端口修改为:
    c.NotebookApp.ip='0.0.0.0' 其中0.0.0.0代表本机上的所有IPV4地址,'*' 则意味着绑定所有接口 (ips)
    再次启动jupyter notebook


ref:
Doc:https://jupyter-notebook.readthedocs.io/en/stable/public_server.html
https://blog.csdn.net/u013042928/article/details/83382336
https://blog.csdn.net/bytxl/article/details/14223135
IP:https://blog.csdn.net/u012814696/article/details/55098249
http://blog.51cto.com/daixuan/2118213
网络:https://blog.csdn.net/acs713/article/details/9336605
地址区别:https://blog.csdn.net/u012814696/article/details/55098249

原文地址:https://www.cnblogs.com/Tom-Ren/p/10235005.html