我想运行Jupyter笔记本和Azure vm。我用以下命令启动笔记本电脑:
jupyter notebook --no-browser --port 8888 --ip=127.0.0.1
接下来,我确认该进程正在侦听端口8888。
sudo netstat -pant | grep "LISTEN"
哪个返回:
tcp 0 0 127.0.0.1:8888 0.0.0.0:* LISTEN 22451/python
我可以进行此连接:
wget -vvv http://127.0.0.1
返回:
--2019-06-27 17:27:34-- http://127.0.0.1/
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3700 (3.6K) [text/html]
Saving to: ‘index.html’
100%[============================================================================================================>] 3,700 --.-K/s in 0s
2019-06-27 17:27:34 (642 MB/s) - ‘index.html’ saved [3700/3700]
从Azure门户,我有:
Firefox表示无法连接。在另一个Firefox标签上,位于http://127.0.0.0.1:80
,我得到Apache Server测试页。
如何进入端口8888的Jupyter笔记本页面?