如何启动/停止IIS Express服务器? [英] How do I start/stop IIS Express Server?

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

问题描述

我已经安装了包含IIS Express的MS Visual Web Developer 2010.

I have installed MS Visual Web Developer 2010 which includes IIS Express.

在此之前,我已经为我的php应用程序安装了XAMPP服务器.

Before this, I had installed XAMPP server for my php applications.

我想知道如何停止IIS才能启动XAMPP?看来他们使用相同的端口.我想可以更改这些内容,但我不想干扰其他程序,而且我认为这应该更简单.

I would like to know how can I stop IIS in order to be able to start XAMPP? It appears that they use the same port. I guess those could be changed, but I do not want to interfere with other programs, and more than that I think this should be simpler.

谢谢!

推荐答案

关闭IIS Express

默认情况下,Visual Studio按时钟将IISExpress图标放置在屏幕右下角的系统托盘中.您可以右键单击它,然后选择退出.如果看不到该图标,请尝试单击小箭头以查看系统托盘中的图标的完整列表.

Closing IIS Express

By default Visual Studio places the IISExpress icon in your system tray at the lower right hand side of your screen, by the clock. You can right click it and choose exit. If you don't see the icon, try clicking the small arrow to view the full list of icons in the system tray.

然后右键单击并选择退出:

then right click and choose Exit:

另一个选项是通过修改项目属性来更改端口.您需要为解决方案中的每个Web项目执行此操作.

Another option is to change the port by modifying the project properties. You'll need to do this for each web project in your solution.

  1. Visual Studio>解决方案资源管理器
  2. 右键单击该Web项目,然后选择属性"
  3. 转到网络"标签
  4. 在服务器"部分的项目URL"框中更改端口
  5. 重复解决方案中的每个Web项目

如果这不起作用,则可以尝试启动任务管理器并关闭IIS Express系统任务栏(32位)和IIS Express工作进程(32位).

If that doesn't work, you can try to bring up Task Manager and close the IIS Express System Tray (32 bit) process and IIS Express Worker Process (32 bit).

如ni5ni6所指出的,如果它仍然无法工作,则端口80上正在运行"Web部署代理服务".请使用本文来跟踪使用它的进程,然后将其关闭:

If it still doesn't work, as ni5ni6 pointed out, there is a 'Web Deployment Agent Service' running on the port 80. Use this article to track down which process uses it, and turn it off:

> https://sites.google.com/site/anashkb/port-80-in -使用

这篇关于如何启动/停止IIS Express服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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