jupyter笔记本无法打开:拒绝访问

时间:2020-10-13 16:50:56

标签: ubuntu jupyter-notebook anaconda ubuntu-20.04

信息:

  • 操作系统:Ubuntu 20.04
  • 发行版:Anaconda 2020.07 Linux x86_64
  • 当前默认浏览器:Firefox 81.0 64位

我做什么:

  • 打开终端
  • cd到特定路径
  • 运行jupyter notebook

会发生什么:

  • Firefox打开,但显示以下消息:
ERROR
The requested URL could not be retrieved

The following error was encountered while trying to retrieve the URL: http://localhost:8888/tree?

    Access Denied.

Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Your cache administrator is root.

注意:我曾经使用 Google Chrome 作为默认浏览器,并且运行良好。但是我决定改用Firefox,而不是一次可以在Firefox中使用Jupyter。

PS :我不想再次切换回Chrome!

1 个答案:

答案 0 :(得分:1)

使用代理时,可能会出现此问题。您可以禁用代理并运行Jupyter!