In Windows, how does one find and use port and release port?

Source: Internet
Author: User

In Windows, how does one find and use port and release port?

Introduction: during daily work, when an application is started, the system prompts that the xxx port is occupied and the application cannot be started normally. How can I find an application that occupies a specific port and release it? This document describes the entire process.

1. Check the port usage of the current system.

2. query the usage of the specified port <Strong? Http: www.bkjia.com kf ware vc "target =" _ blank "class =" keylink "> VcD4KPHA + ICA8aW1nIHNyYz0 = "http://www.2cto.com/uploadfile/Collfiles/20150118/2015011810155180.png" alt = "\">

After the above command, we can know that the process ID/PID occupying port 443 is 4008.

3. view the occupied program files based on the process ID

'

As you can see, it is a system service, so you need to go to the service list in the control panel and stop the service.

Another type of program may be:

Image name PID session name session # memory usage
========================================================== ==========
Tor.exe 2016 Console 0 16,064 K

4. Stop the program directly based on the program name.

For example, the executable file of word in the current office is winword.exe. The command to stop it is as follows:

5. Based on Task Management, processes can be killed Based on the application process name and pid.

First, select the PID column in the task manager to display the PID column in the task manager:

In the process manager, you can view the process name, pid, and application path. You can directly select a process and right-click kill.

6. Summary

In this article, we learned how to find Port occupation, find the corresponding application based on port occupation, and then kill the application process to solve the problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.