服務器上找到frps.ini
配置以下sql
[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
markdown
打開jupyter notebookdom
jupyter notebook --port 8890
參考ssh
https://blog.csdn.net/martind/article/details/82716445tcp