Home> Common Problem> body text

How to solve the problem that the port is occupied

王林
Release: 2021-01-01 17:49:02
Original
45603 people have browsed it

Solution to the port being occupied: 1. Execute the [netstat-ano] command in the command prompt to view the PID corresponding to the port number; 2. Open the task manager and select detailed information; 3. Find the port For the corresponding application, just end the task.

How to solve the problem that the port is occupied

#The operating environment of this article: windows10 system, thinkpad t480 computer.

(Learning video sharing:Programming video)

Solution:

For example, close the port with port number 8888, win R, cmd and press Enter

How to solve the problem that the port is occupied

##Enter the netstat -ano command to view the occupied status of all ports and find the PID corresponding to the 8888 port number. As shown in the figure, the PID corresponding to the 8888 port number is 287784

How to solve the problem that the port is occupied

Click the right button of the mouse to open the task manager

How to solve the problem that the port is occupied

Click on the details

How to solve the problem that the port is occupied##The column corresponding to the PID is the port number. Click PID to arrange the ports in reverse or positive order. If the port number is small, it is in positive order, and if the port number is large, it is in reverse order.

How to solve the problem that the port is occupiedFind The application corresponding to the port

How to solve the problem that the port is occupiedRight-click to end the task

##Related recommendations:How to solve the problem that the port is occupiedwindows system

The above is the detailed content of How to solve the problem that the port is occupied. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!