1. Find out who is using port 80
Enter the command prompt line (start running, input CMD), enter the command netstat – ano, you can see the usage of all ports of the machine. Generally, port 80 is in the first line. The screenshot shows that the port has been occupied, and Listing 4 is written in the PID
Which program is PID = 4?Then, at the command prompt and enter the command tasklist to list all the currently running processes
It is found that the process with PID = 4 is actually system
2. Cancel the occupation of port 80 by system process
After query, it is found that port 80 is indeed a component of SQL Server 2012 – SQL Server Reporting Services (SQL Server 2012). It’s the log system of SQL server. It’s the good end that suddenly occupies port 80. Moreover, for ordinary people, the function of this component is useless. Turning it off is also a way to save resources
The closing method is very simple. Enter services. MSc in the run box to enter the service window. Or directly enter “service” in the search box in the start menu to open it. Then find SQL Server Reporting Services (SQL Server 2012) and stop it. The occupied port 80 is released. You can also set its startup mode to “disable”