Win7 to see a solution for a port is occupied

  
                

When we launch an application on a Win7 computer, we often find that the port we need to use is occupied by another program. But we don't know who is being used, so how to check which port is occupied by which program? Now let's take a look at Win7 to see how a port is occupied.

The method is as follows:

1. Start----"Run----"cmd, or window+R key combination, call up the command window.

2. Enter the command: netstat -ano to list all ports. In the list we observe the occupied port, for example 49157, first find it.

3, view the PID corresponding to the occupied port, enter the command: netstat -aon

Copyright © Windows knowledge All Rights Reserved