【发布时间】:2016-12-21 15:45:48
【问题描述】:
我使用
创建了一个简单的简单 http 服务器python -m SimpleHTTPServer
我可以通过我的笔记本电脑或手机访问它,但是当通过另一个位置访问它时,它显示网页不可用,或者当我尝试通过浏览器的 VPN 访问它时,它也会出现错误:无法检索请求的 url .. 似乎是什么问题? 我在这里粘贴 wget 的输出
wget 192.168.43.171:8000
--2016-08-15 17:40:06-- http://192.168.43.171:8000/
Connecting to 192.168.43.171:8000... connected.
HTTP request sent, awaiting response... 200 OK
Length: 242 [text/html]
Saving to: ‘index.html’
index.html 100%[====================>] 242 --.-KB/s in 0s
2016-08-15 17:40:06 (28.8 MB/s) - ‘index.html’ saved [242/242]
【问题讨论】: