Visual Studio's internal development web-server only listens for connections from the local computer.
Unfortunatly, the web-server only binds to the IPv4 loopback address:
127.0.0.1
On machines with IPv6 enabled (i.e. Windows Vista, Window 7), it does not bind to the IPv6 loopback address:
::1
When you push play in Visual Studio, or open the web-site from the notification area icon, the browser launches and tries to connect to "localhost":
http://localhost:53289/WebSite/
localhost is not a real address, but an alias. On Vista and later it is defined as:
C:\Windows\System32\drivers\etc\hosts
::1 localhost
So you cannot browse to the web-site running on the local host by trying to connect to localhost, you have to change it to 127.0.0.1
How can i make Visual Studio's internal web-server also listen on
::1
in addition to
127.0.0.1
?