当前位置:首页 > Linux

Linux

  • 最新
  • 浏览
  • 评论

临时Web服务

youzhenghang1个月前 (12-24)145
Python3 # 在当前目录启动服务器(端口8000) python3 -m http.server # 指定端口 python3 -m http.server 8080 # 绑定到所有网络接口 python3 -m http.server 8000 --bind 0.0.0.0 # 指定目…