python socket simple http server code example Example: python httpserver python -m http.server 8000 --bind 127.0.0.1