jupyter notebook + frp 實現內容穿透



服務器上找到frps.ini 配置如下

[common] bind_port = 7000 vhost_http_port = 8890 

要穿透的筆記本的frpc.ini配置

[common] server_addr = 公網ip server_port = 7000 # 這個是設置ssh的,外網可以訪問 [ssh] type = tcp local_ip = 10.1.63.213(內網地址) local_port = 22 remote_port = 6001 # 這個是對於穿透jupyter配置 [jupyter] type = http local_port = 8890 custom_domains = 公網ip

 

啟動服務器端./frps -c frps.ini 
啟動客戶端./frpc -c frpc.ini

 

 

打開jupyter notebook

jupyter notebook  --port 8890 

 

 

參考

https://blog.csdn.net/martind/article/details/82716445


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM