Search code examples
visual-studio-2008devforce

ASP.NET Development server inaccessible


I've been working on a home project using VS2008. It involves WCF and Silverlight. Until recently, ASP.NET development server worked just fine and was accessible from the browsers (I use both FF and IE). Now, it seems the browsers are no longer able to access the asp.net dev server. Initially, I believed it to be certain installations I had made (DevForce Silverlight and MVC 1.0) But after uninstalling, it still did not fix the problem. I then tried disabling IPv6 as some websites suggested and I was not using proxies, so that wasn't the problem either.

Has this happened to anyone else? Have you been able to solve the problem or at least find the reason for it? (I just bypassed it by using IIS instead)


Solution

  • Apparently, the problem was in the hosts file.

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

    I managed to solve this problem according to a post here.

    I chose to add the 127.0.0.1 localhost rather than removing or commenting out the ::1 localhost but I tried both and both solutions definitely work.