Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x Can';t在windows 10上访问本地主机python服务器_Python 3.x_Linux_Windows_Localhost_Webserver - Fatal编程技术网

Python 3.x Can';t在windows 10上访问本地主机python服务器

Python 3.x Can';t在windows 10上访问本地主机python服务器,python-3.x,linux,windows,localhost,webserver,Python 3.x,Linux,Windows,Localhost,Webserver,我使用Linux子系统和cmd尝试了这个命令:python3-mhttp.server8080 将此作为响应获取:在::端口8080(HTTP://[:]:8080/)上提供HTTP服务 之后,当我尝试使用谷歌浏览器访问服务器时,它说该页面不可用。 在我看来,默认的0.0.0.0地址无法看到,因此无法访问 有什么想法吗?没有这样的地址,请尝试连接到127.0.0.1或localhost,两者都表示相同的内容,环回,这个地址 您看到的侦听0.0.0.0的方法意味着它将接受所有地址

我使用Linux子系统和cmd尝试了这个命令:
python3-mhttp.server8080
将此作为响应获取:
在::端口8080(HTTP://[:]:8080/)上提供HTTP服务

之后,当我尝试使用谷歌浏览器访问服务器时,它说该页面不可用。 在我看来,默认的0.0.0.0地址无法看到,因此无法访问


有什么想法吗?

没有这样的地址,请尝试连接到127.0.0.1或localhost,两者都表示相同的内容,环回,这个地址

您看到的侦听0.0.0.0的方法意味着它将接受所有地址