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.