abstract image of ryan

Welcome to ryanwold.net


Python Simple Server

I found SimpleHTTPServer the other day, and it turned out to be a great way to easily serve a folder of html. Serving the site with a web server doesn't show errors when loading certain resources like viewing a file://whatever.html in the browser.

 python -m SimpleHTTPServer 
 python -m SimpleHTTPServer 8001 # custom port

After the server starts, your site can be view at http://localhost:8000.


Date
2014-10-14
Status
draft

Tags
howto
Series
N/A