I recently installed IIS on a Windows 2012 R2 server and can't seem to connect to localhost, the IP, server DNS, etc. I've tried the following and nothing seems to be helping:
127.0.0.1 localhost
Not sure what else to try or where it might be failing here.
I was struggling with a similar problem - I didn't have any connections and couldn't connect to even localhost with IIS.
Turns out I had forgotten to open IIS as an administrator. That fixed the problem.