运行一条命令即可:python -m http.server
浏览器打开:http://IP地址:8000/
[root@Ansible ~]# python -m http.server Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ... 192.168.244.1 - - [27/Apr/2020 22:55:04] "GET / HTTP/1.1" 200 - 192.168.244.1 - - [27/Apr/2020 22:55:04] code 404, message File not found 192.168.244.1 - - [27/Apr/2020 22:55:04] "GET /favicon.ico HTTP/1.1" 404 -
「 文章如果对你有帮助,请点个赞哦^^ 」 
0
若无特殊注明,文章均为本站原创或整理发布。
转载请注明本文地址:https://om.fangxiaoxiong.com/2553.html