Visual Studio: how to get Cassini to listen on :: 1?

Visual Studio's internal development web server only listens for connections from the local computer.

Unfortunately, the web server only communicates with the IPv4 address :

127.0.0.1

On computers with IPv6 enabled (for example, Windows Vista, Window 7), it is not tied to an IPv6 address :

::1

When you click a game in Visual Studio or open a website 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. In Vista and later, it is defined as:

C:\Windows\System32\drivers\etc\hosts

::1        localhost

, -, , localhost, 127.0.0.1


- Visual Studio

::1

127.0.0.1

?

+5
1

, IPv6 Visual Studio. IIS.

, : http://blogs.iis.net/.../using-ipv6-with- iis7.aspx.

- , , IPv6 hosts. :

::1        localhost

, 127.0.0.1 , . localhost ::1, , , IPv6, .

+2

All Articles