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=*

相關文章
相關標籤/搜索