Chrome正在MacOS上监听端口8000

时间:2019-03-26 16:40:31

标签: macos google-chrome webserver

我的情况很奇怪,我的Chrome浏览器正在监听8000端口。当我打开http://localhost:8000时,它显示了一个示例网站,当我在Safari或Firefox中打开相同的URL时,该网站不会出现。

我还尝试使用python打开另一个具有相同端口的服务器-8000。

> python -m http.server
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/)

Safari和Firefox可以通过Python http服务器打开站点,但不能通过Chrome打开站点。 Chrome仍会从我的机器上打开示例站点。

我试图找到一个正在监听端口8000的应用程序,但输出为空。

sudo lsof -t -i :8000

您知道此MacOS或Chrome浏览器如何处理吗?谢谢,

0 个答案:

没有答案
相关问题