文章目录
iPad远程访问PC的jupyter notebook
1. 配置本地计算机的jupyter notebook
https://www.jianshu.com/p/770452291635
2. 之后需要设置windows防火墙
3. 之后需要用nat123配置一下外网
因为内网ip 192.168.1.3:8888
只能在本地或者局域网内,在浏览器搜索栏输入进行访问
但是外网,也就是用Ipad就不行,因此需要购买一个,进行配置
然后在ipad的浏览器上直接输入外网网址就可以。
注意:首先配置jupyter的配置文件:
/.jupyter/jupyter_notebook_config.json
里面的内容修改成:
{
"NotebookApp": {
"nbserver_extensions": {
"jupyter_nbextensions_configurator": true
},
"password": "sha1:af1e75be9054:3ef8bbe6ab6c08d40bd3879cf2881dc55e7780c7"
}
}
然后在打开jupyter 的prompt,输入:
jupyter notebook --no-browser --port 8888 --ip=192.168.1.3
然后在ipad上输入
http://123bnvc.nat123.cc
就可以了。
也可以在本地电脑上输入:
http://192.168.1.3:8888