ASP.NET 开发服务器无法访问

发布于 2024-07-16 04:20:39 字数 311 浏览 11 评论 0原文

我一直在使用 VS2008 开发一个家庭项目。 它涉及WCF和Silverlight。 直到最近,ASP.NET 开发服务器都运行良好,并且可以通过浏览器访问(我同时使用 FF 和 IE)。 现在,浏览器似乎不再能够访问 asp.net 开发服务器。 最初,我认为这是我进行的某些安装(DevForce Silverlight和MVC 1.0),但卸载后,它仍然没有解决问题。 然后我尝试按照一些网站的建议禁用 IPv6,并且我没有使用代理,所以这也不是问题。

这有发生在其他人身上吗? 您是否能够解决问题或至少找到问题的原因? (我只是使用IIS绕过了它)

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)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

心的憧憬 2024-07-23 04:20:39

您是否检查过该计算机上正在运行的进程列表以确保没有另一个开发服务器实例正在运行? 如果是这样,您可能必须杀死它才能使其重新开始。

另一种可能性是重新启动该机器,看看会发生什么。

Have you checked the list of running processes on that machine to make sure there isn't another instance of the dev server running? If so, you may have to kill it to get it to start fresh.

Another possibility would be to reboot that machine and see what happens.

娇女薄笑 2024-07-23 04:20:39

显然,问题出在主机文件中。

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

我根据帖子 此处

我选择添加 127.0.0.1 localhost 而不是删除或注释掉 ::1 localhost 但我尝试了这两种方法,并且两种解决方案都确实有效。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文