Solution for port 80 being occupied by System & PID = 4 in Windows

Source: Internet
Author: User

Solution to port 80 being occupied by System & PID = 4 in Windows

I am using SQL Server Reporting Services. Stop this service and set it to manual start.

If you have not installed SQL Server, refer to the following solution

========================================================== ========================================================

Suddenly, port 80 was inexplicably occupied.

This product cannot be completed, so I started to check what was occupied.

First, open cmd and run the command. Port 80 is occupied by System. It must be a ghost of the HTTP service.

 

Netsh http show servicestate

 

I was slightly confused when I saw REPORTSERVER.

Let's continue to look at the PID using port 80. What are you waiting? Start taskmgr! (Task Manager)

How to view the PID in Task Manager:

In the cmd above, we get PID = 4212. Now let's see what is playing tricks.

The result was suddenly enlightened! If you are not sure what the process is, right-click it and choose "open file location ".

Now everyone should understand it. I am using the SQL Server Report service.

Finally, I went to services. msc to stop him and set this service to be done manually.

How to view the current usage of port 80:

 

Netstat-ano | findstr 0.0.0.0: 80

 

Enter this command and press Enter. If there is no content in the middle, it indicates no occupation.


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.