I need to run a simple http-server using nodejs. I have installed in my local repo using npm. When i run the below command, i am getting th e following message
nodejs node-modules/http-server/bin/http-server -a 127.0.0.0
Starting up http-server, serving ./ on: http://127.0.0.0:8080
But, server is not running on http://127.0.0.0:8080. All i could see in the screen is, The webpage is not available
If i change the command as,
nodejs node-modules/http-server/bin/http-server -a 127.0.0.1
it starts a local server at http://127.0.0.1:8080
I do not understand what is going on. Could any body help me to understand what's happening here?
Thanks in ADVANCE!!