Anaconda 运行jupyter笔记本后连接被拒绝(503错误)

Anaconda 运行jupyter笔记本后连接被拒绝(503错误),anaconda,jupyter-notebook,jupyter,Anaconda,Jupyter Notebook,Jupyter,我已经在redhat服务器系统中安装了conda和anaconda。当我使用root用户运行jupyter时: jupyter notebook --port 8889 --allow-root --no-browser 一切似乎都很好,jupyter正在成功运行 [I 10:25:44.091 NotebookApp] JupyterLab extension loaded from /anaconda3/lib/python3.7/site-packages/j

我已经在redhat服务器系统中安装了conda和anaconda。当我使用root用户运行jupyter时:

    jupyter notebook --port 8889 --allow-root --no-browser
一切似乎都很好,jupyter正在成功运行

    [I 10:25:44.091 NotebookApp] JupyterLab extension loaded from 
     /anaconda3/lib/python3.7/site-packages/jupyterlab
    [I 10:25:44.091 NotebookApp] JupyterLab application directory is /anaconda3/share/jupyter/lab
    [I 10:25:44.094 NotebookApp] Serving notebooks from local directory: /anaconda3/share
    [I 10:25:44.094 NotebookApp] The Jupyter Notebook is running at:
    [I 10:25:44.094 NotebookApp] http://localhost:8889/?token=47727d960f404202b179027ea871fd5fda8cfed87307cad4
    [I 10:25:44.094 NotebookApp] Use Control-C to stop this server and shut 
    down all kernels (twice to skip confirmation).
   [C 10:25:44.098 NotebookApp]

     To access the notebook, open this file in a browser:
      file:///root/.local/share/jupyter/runtime/nbserver-12424-open.html
     Or copy and paste one of these URLs:
        http://localhost:8889/?token=47727d960f404202b179027ea871fd5fda8cfed87307cad4
但是,当我尝试访问浏览器(在windows中)中提供给我的URL时,我收到一个503错误。我使用给定的URL只是通过服务器主机名更改localhost。 任何帮助!
谢谢

如果您是从其他设备(而不是本地主机)连接到Jupyter服务器,则需要允许外部IP地址。您可以通过指定以下内容来执行此操作:

--ip=0.0.0.0或--ip=*

如果您希望仅限制对IP白名单的访问,也可以在此处(或在jupyter_notebook_config.py文件中)指定这些IP

尝试:
jupyter笔记本--端口8889--允许root--无浏览器--ip=0.0.0.0

是否使用端口转发?是的,我使用端口8889。