Resolve occupied port issues

WBOY
Release: 2024-01-14 23:00:27
forward
2436 people have browsed it

Some friends found that when opening a certain port, the port was occupied. So how to solve the problem of the port being occupied? The editor below will give you a detailed introduction to the solution to the port being occupied. What do you think? If you are interested, you can come and take a look.


#1. Press the shortcut key "win R", enter "cmd", and press Enter to open.

Resolve occupied port issues


2. After entering the command prompt window, enter "netstat -ano", press Enter to execute, you can view all ports being used For the occupancy situation, here we take the port number 8888 as an example.

Resolve occupied port issues


3. Find the PID value corresponding to the port number 8888. Here you can see that the corresponding PID value is "287784".

Resolve occupied port issues


4. Right-click the taskbar below and select "Task Manager" in the option list to open it.

Resolve occupied port issues


5. In the window that opens, click the "Details" option above.

Resolve occupied port issues


6. Click "PID" to arrange the ports in reverse or positive order. If the port number is small, it will be in positive order. The port number is in reverse order.

Resolve occupied port issues


7. Then find the application corresponding to the port.

Resolve occupied port issues


8. Right-click and select "End Task".

Resolve occupied port issues


The above is the detailed content of Resolve occupied port issues. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:dafanshu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template