Skip to content

Instantly share code, notes, and snippets.

@karthiknannapaneni
karthiknannapaneni / web-servers.md
Created October 5, 2019 14:28 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000