How do I start/stop IIS Express Server?

前端 未结 6 1348
鱼传尺愫
鱼传尺愫 2020-12-16 08:53

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

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

I would like to

6条回答
  •  情歌与酒
    2020-12-16 09:37

    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.

    IIS Express icon

    then right click and choose Exit:

    enter image description here


    Changing the Port

    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 > Solution Explorer
    2. Right click the web project and choose Properties
    3. Go to the Web tab
    4. In the 'Servers' section, change the port in the Project URL box
    5. Repeat for each web project in the solution

    Changing the IIS Express port


    If All Else Fails

    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).

    Terminating the IIS Express Worker Thread process

    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-use

提交回复
热议问题