无法启动Web服务器

编程入门 行业动态 更新时间:2024-10-22 07:16:19
本文介绍了无法启动Web服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

I have asp 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服务器

本文发布于:2023-11-10 22:28:43,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1576638.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:无法启动   服务器   Web

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!