首页 > 解决方案 > 在 AWS ec2 上连接 Jupyter notebook 时如何解决“PermissionError: [Errno 13] Permission denied”?

问题描述

我是第一次在 Aws 上设置 ec2。当我命令运行 Jupyter notebook 时,它运行并说没有找到浏览器。但是,当我通过浏览器放置连接 Jupyter 的链接时,我在浏览器中看到了这条消息——

This site can’t be reached The connection was reset.
Try:

Checking the connection
Checking the proxy and the firewall
Running Windows Network Diagnostics
ERR_CONNECTION_RESET

我多次尝试连接 Chrome 和 Firefox。但是,一直没有联系。当我尝试通过 Firefox 连接时,它显示以下消息 -

Secure Connection Failed

The connection to ec2-18-224-212-245.us-east-2.compute.amazonaws.com:8888 was interrupted while the page was loading.

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.

放置命令后 - jupyter notebook - 它运行但显示浏览器未找到错误

[I 14:45:00.935 NotebookApp] The Jupyter Notebook is running at: https://[all ip addresses on your system]:8888/
[I 14:45:00.935 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 14:45:00.936 NotebookApp] No web browser found: could not locate runnable browser.

当我尝试通过浏览器连接 jupyter notebook 时出现此错误

PermissionError: [Errno 13] Permission denied

我期待我的 Jupyter 笔记本在浏览器中运行和加载。这样,我就可以使用我的 Aws Jupyter 笔记本了。

标签: amazon-web-servicesamazon-ec2jupyter-notebookpermission-denied

解决方案


推荐阅读