I'm using IIS on Windows 7, and I can't get it to bind to the IPv6 equivalent of 0.0.0.0 and 127.0.0.1 ([::] and [::1])
The first one gives me an error when trying to start the service that says
The World Wide Web Publishing Service (WWW Service) did not register the URL
prefix http://[::]:80/ for site 1. The site has been disabled. The data field
contains the error number.
The second one doesn't give any errors but doesn't listen on anything apart from 0.0.0.0
The bindings dropdown only has my teredo address (2001::) listed, and not my link local (fe80::) one.
OK... for some reason I needed to use the netsh tool.
That enabled IIS to listen on IPv4 and IPv6 while leaving the settings inside IIS to listen on "all interfaces".
Here's what I did on my machine:
ipconfig
Link-local IPv6 Address
e.g.:fe80::198e:8552:7c6b:1902%10
fe80::198e:8552:7c6b:1902
, if you givefe80::198e:8552:7c6b:1902%10
, you will get an error "Value does not fall within the expected range."Browse the Web site, this will work. If you want it to be accessed from across the network with IPv6 enabled client, make sure to get a static IPv6 address and make a DNS entry for the same.
applicationhost.config entry: