roger's picture

"Internet Explorer cannot display the webpage" when using Cassini on Windows Vista

I was doing some ASP.NET MVC this weekend, and I couldn't get the project to start: all I got was "Internet Explorer cannot display the webpage", when using Visual Studio's built-in development web server (Cassini).

I think it's because Cassini doesn't support IPv6, and on Vista, "localhost" refers to the IPv6 address ::1, rather than the IPv4 address 127.0.0.1.

If you use http://127.0.0.1:12345/Home/, then it works fine.

To resolve this, you can go to the project settings and set the Start URL explicitly.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <b> <blockquote> <br> <code> <dd> <dl> <dt> <hr> <h1> <h2> <h3> <i> <img> <li> <ol> <p> <pre> <table> <td> <th> <tr> <tt> <u> <ul>
  • Images can be added to this post.

More information about formatting options