Python documentation here
$ python -m SimpleHTTPServer 8081 0.0.0.0 Serving HTTP on 0.0.0.0 port 8081 ...
Note that it’s not necessary to set the 2nd argument to
0.0.0.0 if you want the service to listen on all routes. It normally will by default listen on everything… just habit for me to always append that.
Another useful part of this server is that it servers an apache directory style listing of all file’s present unless there is a valid index file like