【问题标题】:Getting error while accessing server's jupyter notebook remotely from the local machine从本地计算机远程访问服务器的 jupyter notebook 时出错
【发布时间】:2021-07-21 05:48:29
【问题描述】:

按照远程访问服务器的 Jupyter Notebook 的步骤后,我收到以下错误:

  1. jupyter notebook --no-browser -port=8890(从本地机器远程访问服务器)

  2. ssh -N -L localhost:8891:localhost:8890 login@ip_address_server (在本地机器终端上) 并收到以下错误: error image

【问题讨论】:

    标签: python-3.x server jupyter-notebook remote-server jupyter-lab


    【解决方案1】:

    解决方案: 错误是因为方法的第一步(使用--port而不是-port):

    1. jupyter notebook --no-browser -port=8890(从本地机器远程访问服务器)
      变化:

    jupyter notebook --no-browser --port=8890(从本地机器远程访问服务器)

    2.ssh -N -L localhost:8891:localhost:8890 login@ip_address_server(在本地机器终端上)

    1. 然后,在本地机器的浏览器(firefox 或 chrome)上运行 jupyter notebook:localhost:8891

    【讨论】:

      猜你喜欢
      • 2018-10-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-01-29
      • 2018-03-14
      • 2012-06-09
      • 1970-01-01
      相关资源
      最近更新 更多