ITPub博客

首页 > 应用开发 > Python > 【Python】jupyter notebook启动后网页无法访问

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

原创 Python 作者:ringoo_ming 时间:2019-05-24 16:12:02 0 删除 编辑

这几天遇到的坑,安装了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网关和虚拟机的不同,然后就一直检查啊检查,排错啊排错

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

/etc/init.d/iptables stop

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

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

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31442725/viewspace-2645434/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: DHCP原理
请登录后发表评论 登录
全部评论
没啥特别的,就是一个搬砖人

注册时间:2017-03-10

  • 博文量
    40
  • 访问量
    114065