Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试使用 wsgiref.simple_Server 模块来构建一个简单的 Web 服务器。我的服务器安装在 CentOS 上。每当服务器启动时,HTTP请求就成功了
一小时后,尝试了 HTTP 请求,但没有收到响应。检查服务器后台,没有报错,当然请求信息在几分钟前是固定的,没有请求信息刷新。当我尝试按 Ctrl + C 结束服务器时,控制台出现以下错误。
在此处输入图像描述