Is the firewall running? Is yes, try switching it off and then browsing localhost.
Rigved,
It worked !
We are not having any firewall hardware, just restarted my WiFi access point and it works.
Not sure, where was the problem :).
Also check whether the nginx config contains any syntax errors - nginx won't start if any of the config files have errors.
sudo nginx -t