January 5th, 2009

ASP.NET Development Server Problems Under Vista

Asp.net, by chris.

Today, when I use VS2008 to create a Demo WebSite and right click a page and click “View in Browser”, then firefox open, but pass a long time, it show nothing. when i use the same url in IE, it also said can not open the page.

But, when i replace “localhost” in url to “127.0.0.1″, it worked. So I thinked mybe some problem happend when it resolve “localhost” to “127.0.0.1″. So I open a file named “host” under path “C:\Windows\System32\drivers\etc”, find this line “::1             localhost”, this should be “:::1             localhost”, change it.

now it worked.

收藏与分享

Back Top

Responses to “ASP.NET Development Server Problems Under Vista”

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Back Top