无法连接到 Visual Studio 的本地主机 Web 服务器 [英] Unable to connect to Visual Studio's Localhost Web Server

查看:64
本文介绍了无法连接到 Visual Studio 的本地主机 Web 服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

直到昨天一切正常,但今天我尝试使用 Ctrl+F5 启动我的应用程序,但出现以下错误:

Until yesterday everything was normal but today i try to lauch my application using Ctrl+F5 and i get the following error:

Unable to connect to Visual Studio's Localhost Web Server

我尝试了

aspnet_regiis -i

iisreset

但没有任何效果.

有什么想法吗??

环境:视窗 XP视觉工作室 2005

Environment: Windows XP Visual Studio 2005

推荐答案

好吧,我找到了一些答案,但没有解决问题.

Well, I found some answer but it didn't solved the problem.

由于我使用的是 Visual Studio Web Server 并且遇到了问题,我将我的 Web 应用程序项目配置为使用 IIS 并且它工作正常.

Since I was using the Visual Studio Web Server and i was having problems I configured my web application project to use IIS instead and it worked.

但是如果我把它改回VS Web Server,它仍然有问题.至少我现在可以继续工作.

But if i change it back to VS Web Server it still have the problem. At least I can keep on working now.

这篇关于无法连接到 Visual Studio 的本地主机 Web 服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆