Fastest and easiest way to have an HTTP server running
If you just want to have an HTTP server running, what is the easiest way? So far, the answer for me is this command:
python -m SimpleHTTPServer 8080
It will serve the content in the current path. If you know a better answer, please let me know.
Update [2015-11-17]: Another way is to use PHP’s built-in server, as suggested by Subin Siby:
php -S 0.0.0.0:8080