当前位置:   article > 正文

jupyter notebook远程访问不了的问题解决_jupyter远程访问拒绝连接请求

jupyter远程访问拒绝连接请求

conda  version 4.5.12

jupyter version 4.4.0

 

1 生成jupyter的config文件

$ jupyter notebook --generate-config
这时候会生成配置文件,在 ~/.jupyter/jupyter_notebook_config.py

2 修改配置文件:~/.jupyter/jupyter_notebook_config.py

$vim ~/.jupyter/jupyter_notebook_config.py
加入如下内容

c.NotebookApp.ip='*'
c.NotebookApp.allow_remote_access = True
c.NotebookApp.open_browser = False

保存退出。

3. 启动jupyter

$jupyter notebook
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/245206
推荐阅读
相关标签
  

闽ICP备14008679号