python -m SimpleHTTPServer

Serve current directory tree at http://hostname:8000.

If more than one is needed it is able to receive another port at the end.

python -m SimpleHTTPServer 8000

Leave a Reply

Your email address will not be published. Required fields are marked *