Jupyter-Notebook 远程访问

若是正常启动html

经过本机IP访问都不行,就更不提远程访问了服务器

记得当时在说设置默认工做路径的时候,提过配置文件http://www.javashuo.com/article/p-uwxlffsd-bm.html 测试

生成配置文件:jupyter-notebook --generate-config3d

配置文件其实也是能够支持远程访问的(服务器一样适用)代理

code ~/.jupyter/jupyter_notebook_config.py 【没装VSCode的能够用gedit ~/.jupyter/jupyter_notebook_config.py 】code

只是咱们只想临时远程共享而进行部分代码演示,有没有简单方法呢?htm

==》jupyter-notebook --ip=*blog

访问:http://192.168.36.235:8888?token=xxxtoken

OK了进程

Win10远程测试:

 

扩展:(反向代理也能够实现)

若是是SSH链接远程服务器在登出的时候运行的程序被信号杀了怎么办?

能够使用nohup(进程不响应SIGHUP信号)

nohup jupyter notebook --ip=*

相关文章
相关标签/搜索