无法启动Web服务器 [英] Unable To Launch Web Server

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

问题描述

我在Visual Studio 2012 asp.net web应用项目时,我要开始了,我有以下错误:

I have asp.net web application project in visual studio 2012. When I want to start it, I have the following error:

无法启动IIS前preSS Web服务器:
端口4012是使用

这个问题从nothing.How来到我能解决这个问题?

This problem came from nothing.How can I resolve it ?

推荐答案

从MSDN库

Visual Studio中不能保证您指定的端口会
  可当你运行你的文件系统网站。如果该端口处于
  当你运行一个页面中使用时,Visual Studio会显示错误消息。

Visual Studio cannot guarantee that the port you specify will be available when you run your file-system Web site. If the port is in use when you run a page, Visual Studio displays an error message.

要更改IIS使用前preSS运行程序,你应该按照这篇文章在MSDN上被列出的程序端口

To change the port used by IIS Express to run your program you should follow the procedure outlined by this article on MSDN

如何:指定端口的开发服务器

总之,我们需要编辑文件%系统驱动器%:\\用户\\<用户名> \\文档\\ IISEx preSS \\ CONFIG 和更改绑定此文件中的信息和改变其他配置的IIS防爆preSS。

In short, we need to edit the file %systemdrive%:\Users\<username>\Documents\IISExpress\config and change the binding information found in this file and change other configurations for the IIS Express.

由于这不是那么简单的方法来解决这个问题的后果,我建议关闭试图在您的计算机dev的使用该端口访问应用程序。寻找从微软如的TCPView 特定的工具,可以帮助当场抓住那你的端口的应用程序。通常,只有浏览器

As a consequence of this not so simple way to fix the problem, I recommend to close the application that tries to use that port access on you dev computer. Look for specific tools like TCPView from Microsoft that could help to spot the application that grabbed your port. Often it is only the browser

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

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