python localhost 8080 code example
Example 1: python httpserver
python -m http.server 8000 --bind 127.0.0.1
Example 2: simplehttpserver
python -m SimpleHTTPServer 8000
python -m http.server 8000 --bind 127.0.0.1
python -m SimpleHTTPServer 8000