80 port is inetinfo.exe to occupy the workaround

Source: Internet
Author: User

I am in the native configuration of PHP environment, installed when encountered 80 port is occupied, after the query to know that the original is Inetinfo.exe occupied 80 ports, so the Inetinfo.exe service can be installed normal PHP environment.

Workaround in Windows Service Management, stop the IIS Admin server, or run it in cmd

The code is as follows Copy Code

Iisreset.exe/stop

Forced shutdown of the IIS service is OK.

Here's a quick way to take a look at a query port in Windows:

1, choose to start-> run->cmd-> OK, enter "Netstat-ano" in the command line, and then find the 0.0.0.0:80 of this line of the corresponding PID value. This PID value is the program process handle that is currently using port 80.

2, immediately followed by pressing Ctrl+alt+del, open Task Manager, select View-> Select column-> hook on the PID (process identifier)-> OK. Finally find the 80-port PID Value Line, the previous image name is currently consuming 80 ports of the program.

method Two: change the IIS 80 port to the other used port, such as 80 to 81, and change the port of the site to 81.

Steps:

1, change the IIS 80 port to unused port, arbitrary value, not used on the sex, in this change to 81 ports.

2, restart IIS. Now that IIS is ready to start, you can already browse the files in IIS.

3, corresponding in the site to the site's port to IIS now 81 ports, such as from the original http://localhost/changed to http://localhost:81/. If you do not change the site port, you need to enter the port every time you visit the site, if you want to access index.asp, you must enter: http://localhost:81/index.asp.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.