Simple HTTP Server

Public accessible:
$ python3 -m http.server [port] --directory /tmp/

On localhost
$ python3 -m http.server --bind 127.0.0.1 8080

In background
$ python3 -m http.server 8000 &> /dev/null &

Last updated