First, we want to see how 80 ports are occupied :
In the lower left corner of your computer, click
Input cmd
,
Enter the Netstat-ano|findstr "80" and return to the carriage (note that the-ano is followed by a vertical bar, which is the key above the ENTER key on our keyboard, the vertical bar will appear when you hold down SHIFT and then press that key |, and the double quotation marks are English characters)
In the first column after the TCP column, there are: 80 is the process that consumes 80 ports, and finally his PID is the last column of 2632.
Now let's take a look at which process this pid=2632, enter tasklist |findstr "2632" in cmd and enter,
We can see that my computer is Tomcat5.exe occupies 80 ports.
Or you can see from Task Manager which process is consuming port 80 (the two ways to start Task Manager):
1, Ctrl+alt+delete, and then the bottom-up Task Manager
2. Point the mouse to the bottom of the desktop, right-click, and select Start Task Manager
There is a window like this
Because the PID of the process is hidden by default, we click View on the taskbar, and then click Select Column, a window appears below,
The PID (process identifier) Tick, click OK, and then we look at the PID PID is 2632 of the process (you can click on the PID, the following content will be based on the size of the PID order),
This also shows which process is taking up 80 ports.
If you don't have the PID number you're looking for, you'll tick the show All users ' process (S) in the bottom left corner.
So we can find it.
So now we're starting to take this process out of use,
First case:
The normal program takes up 80 ports, so we just right click on the program in Task Manager, then we can end the process.
Second case:
1. My Computer (WINDOW7 system) is now the 80 port that Tomcat occupies, and at first it was the pid=4 process that took up 80 ports, while Pid=4 was the system that took up 80 ports
Open regedit (registry): At the beginning, search there for the input regedit
And then enter,
Find Hkey_local_machine/system/currentcontrolset/services/http
Find a DWORD value start,
Right-click Modify to change the value data to 0.
Rebooting the computer, the system process will not consume 80 ports.
2. If you are also a pid=4 system that occupies 80 ports, it is possible that the IIS service occupies 80 ports in the second case. Then we turn on Computer Management: Right click on My Computer, click Manage, we go into the Computer Management, we click Services and applications, in double-click Services, will be inside the IIS Admin service disabled
Right-click IIS Admin Service Select Properties, Startup type selection disabled
3. It is possible that SQL Server report takes up 80 ports.
Then we turn on Computer Management: Right click on My Computer, click on Management, we go into the Computer Management, we click on the service and application, in double-click the service, will be inside the SQL Server report set to Manual.
This is the situation I have encountered, there may be other situations, in the future, after the conclusion, if you have any comments or suggestions welcome, I hope to help you.
If you need to reprint, please indicate the original URL http://www.cnblogs.com/kathy920617/p/6655810.html
Several cases and solutions of WINDOW7 system pid=4 occupying 80 ports