Solution to 80 ports occupied by inetinfo.exe

Source: Internet
Author: User

Solution to quota occupation.

If the ghost service is turned off, the PHP environment can be properly installed.

Solution: in windows Service Management, stop IIS admin server or run it in cmd.

The Code is as follows: Copy code

Iisreset.exe/stop

Disable the IIS service.

Here, by the way, a simple method to query port occupation in Windows is as follows:

1. Choose Start> RUN> cmd> OK. Enter "netstat-ano" in the command line and find the PID value of the line 0.0.0.0: 80. The PID value is the Process Handle currently using port 80.

2. Press Ctrl + Alt + Del to open the task manager and choose View> Select column> hook PID (process identifier)> OK. Finally, find the PID value line using port 80. The preceding image name is the program currently using port 80.

Method 2:Change port 80 of IIS to another port used, for example, port 80 to 81, and port 81 of the site.

Steps:

1. Change the port 80 of IIS to the unused port. Set the value as needed and change it to port 81.

2. Restart IIS. At this time, IIS can be started and files can be browsed in IIS.

3. Change the site port to the current port 81 of IIS on the site, for example, from http: // localhost/to http: // localhost: 81 /. If you do not change the site port, you must enter the port each time you access the site. 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.