温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

【Python】jupyter notebook启动后网页无法访问

发布时间:2020-08-04 20:14:34 来源:ITPUB博客 阅读:317 作者:ringoo_ming 栏目:编程语言

这几天遇到的坑,安装了pyenv和ipython以及jupyter notebook,然后也启动了

[python@192.168.1.77 RINGOO-1]: ~/project
0> jupyter notebook --ip=0.0.0.0 
[I 07:26:32.241 NotebookApp] Serving notebooks from local directory: /home/python/project
[I 07:26:32.241 NotebookApp] The Jupyter Notebook is running at:
[I 07:26:32.242 NotebookApp] http://(RINGOO-1 or 127.0.0.1):8888/
[I 07:26:32.242 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 07:26:32.263 NotebookApp] No web browser found: could not locate runnable browser.

但是打开网页一直都不显示,之前以为是自己的dns网关和虚拟机的不同,然后就一直检查啊检查,排错啊排错

【Python】jupyter notebook启动后网页无法访问

然后就在刚才突然想起是不是iptables上一次没有关闭,于是执行命令试了一下

/etc/init.d/iptables stop

再开启jupyter notebook后发现网页打开了。。。

哎~真的被自己蠢哭了。。。

【Python】jupyter notebook启动后网页无法访问

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI