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 8001

You must be logged in to post a comment.