First I was downloading MAMP, but due to awesome internet connectivity I almost lost my patience since it was taking more than 40 minutes to download. On searching in internet for other options I found that there is a charm in Mac OS X due to preinstalled Python.
Try the below in Terminal Window
python -m SimpleHTTPServer <port-number> &
This will start a local HTTP server in your Mac.
Access it via browser in below url
In order to shutdown the server just close the Terminal window.
I learned it from this link
I am very late in learning this :(