On a Windows 2016 server, IIS web site is set to bind on all IP address on the server.
But site is only available on 127.0.0.1 (localhost). To check if this is due to firewall, i disabled firewall, the problem still exists after disabling firewall.
To fix the problem, run following commands as user “Administrator”
netsh http show iplisten netsh http delete iplisten ipaddress=127.0.0.1 netsh http add iplisten ipaddress=0.0.0.0
Now restart IIS
iisreset