Can't access an internal IIS web site via IP address, only hostname
Check to see if your bindings are correct for what you are trying to do. You should add all unassigned addresses to the web site you are trying to serve.
Related videos on Youtube
user31764
Updated on September 17, 2022Comments
-
user31764 over 1 year
I have a machine on my home network running Windows Server 2008 (IIS7) with a web application running under default website called HTCOMNET. The network is just on a Windows Workgroup. The server is named nas1 and has a (dynamically assigned) IPv4 address of 192.168.2.12.
I can ping 192.168.2.12. When I ping the machine by name ("nas1"), the hostname resolves to an IPv6 link-local address (as opposed to the ipv4 address). In a browser, I can go to http://nas1/HTCOMNET/ and IIS serves the site, no problem. But if I go to http://192.168.2.12/HTCOMNET, no dice. I have all the windows firewalls turned off.
Any idea what's going on? I can't for the life of me figure out why I can't hit IIS via the IP. I feel like it's something really obvious, but i can't figure out what. Thanks!
-
Unfundednut about 14 yearsWhen you load the ip in the browser what error shows up?
-
user31764 about 14 yearsI just get a typical "Internet Explorer cannot display the webpage" error. No IIS error or anything.
-
Stephen Jennings about 14 yearsWhat happens if you try to go to http: //[ipv6 address]/HTCOMNET (with the brackets) from another computer?
-
-
user31764 about 14 yearsNo dice, but thanks for pointing that out. The binding was already in place for * ip addresses to go to port 80.