我通过在公共 IP 0.0.0.0 和端口 5000 上运行 Jupyter 笔记本服务器来解决了这个问题。
服务器配置:
To access the notebook, open this file in a browser:
file:///run/user/1001/jupyter/nbserver-18243-open.html
Or copy and paste one of these URLs:
http://111.11.11.111:5000/?token=ab6f22d9176774b8dccb08cc87414fe8a64bb58e6cc10910 [I 02:28:19.329 NotebookApp] 302 GET / (69.140.134.16) 0.76ms [I 02:28:19.403 NotebookApp] 302 GET /tree? (69.140.134.16) 0.74ms [I 02:28:19.609 NotebookApp] Kernel started: 306aaa82-b824-4fd0-8b8f-dd35271f79ef [W 02:28:19.689 NotebookApp] No session ID specified [I 02:28:20.122 NotebookApp] Adapting to protocol v5.1 for kernel 306aaa82-b824-4fd0-8b8f-dd35271f79ef