Current location - Quotes Website - Team slogan - How to find out which program the port is occupied by?
How to find out which program the port is occupied by?
In the process of operating the computer, many users should have encountered the situation that the port is occupied and the application cannot be opened when running some programs. After this happens, how can we find out which program has occupied the port? Some friends may not know it very well, so today's article is to sort out and share the methods of checking port occupation.

The specific method is as follows:

1. First open the start menu, enter "CMD" to search the command prompt, and open it as an administrator:

2. Enter "netstat-ano" and press Enter to get a list of all network connection activities. In the table, the port number is located after the colon of the local address IP address:

3. If you want to find a specific port, you can enter the command "netstat-aon|findstr port number". For example, "netstat-aon|findstr80" means to find information with port number 80:

If you want to know which program is occupied, you can write down the PID number in the last column:

5. Go to Task Manager's Details to find programs with the same PID:

6. This can determine which program occupies the port, so as to modify the port or stop the application.

The method of checking the occupied port is shared here for everyone. If necessary, you can check according to the above steps.