In Windows operating system, the program to query port occupation and clear port occupation netstat -ano|findstr 8080 taskkill /pid 4632 /F Windows port usage Start -- Run -- cmd Enter the command prompt and enter netstat -ano to see the PIDs of all connections. Then find the program corresponding to this PID in the Task Manager (right-click the status bar on the computer screen to find it). If there is no PID item in the Task Manager, you can select "View" - "Select Columns" in the Task Manager. 1. View the PID of all connections Start -- Run -- cmd, enter netstat -ano After finding the PID corresponding to the port number, stop the program corresponding to the PID from the Task Manager. 2. View the program occupying port 8080 ①First C:>netstat -ano|findstr "8080" Protocol Local Address External Address Status PID TCP 127.0.0.1:1433 0.0.0.0 LISTENING 4984 ② Then C:>tasklist|findstr "4984" Image Name PID Session Name Session # Memory Usage sqlservr.exe 4984 Services 0 51,844 K P: It is very clear, it is the sqlserver service that occupies port "1433", so kill it. 3. End the process C:\>taskkill /f /t /im sqlservr.exe or C:\>taskkill /F /pid “4984” Summarize The above is the program that the editor introduced to you for querying port occupation and clearing port occupation in the Windows operating system. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Using react-beautiful-dnd to implement drag and drop between lists
>>: Detailed example of sorting function field() in MySQL
What is bond NIC bond is a technology that is com...
1. Common usage: (1) Use with % % represents a wi...
When we are writing a page, we often encounter a ...
history route History mode refers to the mode of ...
Openlayers is a modular, high-performance and fea...
Script requirements: Back up the MySQL database e...
Colleagues often ask, when deleting files/directo...
Docker runs multiple Springboot First: Port mappi...
Table of contents Preface Introduction to QueryCa...
1 Overview System centos8, use httpd to build a l...
Install axios and implement communication Here we...
When a user registers, they will click on a label...
The element ui table does not have a built-in dra...
Table of contents Written in front Environment de...
Docker is an open source container engine that he...