Current location - Quotes Website - Team slogan - How to solve the problem of port occupation
How to solve the problem of port occupation
Many friends who use win 10 system find that when a port needs to be opened, the system prompt is occupied. How to find out who is occupying the port at this time? In fact, as long as you view it in the command manager, let's take a look at the specific tutorial.

Port occupation solution

1, win+R, cmd enter.

2. Enter netstat.

-ano command checks the occupied status of all ports, such as closing the port with port number 8888 and finding the PID corresponding to port number 8888, as shown in the figure, the PID corresponding to port number 8888 is 287784.

3. Click the right mouse button to open the Task Manager.

4. Click on the details.

5. The column corresponding to PID is the port number. Click PID to arrange ports in reverse or positive order. If the port number is small, it is in the positive order, and if the port number is large, it is in the reverse order.

6. Find the application corresponding to the port.

7. Right-click to end the task

Windows settings related issues

Run cmd>& gt& gt.

What's the use of running as an administrator >>& gt