Create Httpd service with Python

@Python3 -3.6.8

 python3 -m http.serve



python3 -m http.server 8080 --bind 127.0.0.1















@Python2

 python -m simpleHTTPServer



references

https://developer.mozilla.org/en-US/docs/Learn/Common_questions/set_up_a_local_testing_server

 https://docs.python.org/3/library/http.server.html

這個網誌中的熱門文章

Upgrade php and httpd(apache) on CentOS 7

Installing VMware workstation pro on Ubuntu 22.X (Jammy Jellyfish)