Ports and processes

Source: Internet
Author: User

Viewing processes that use port 5556
C:\windows\system32>netstat-ano | Findstr "5556"
TCP 0.0.0.0:5556 0.0.0.0:0 LISTENING 7316
TCP [::]:5556 [::]:0 LISTENING 7316

View the PID 7316 program

C:\windows\system32>tasklist/fi "pid eq 7316"

Image name PID session name Session # Memory usage
========================= ======== ================ =========== ============
Java.exe 7316 rdp-tcp#0 2 81,656 K

Terminate Process Java.exe

C:\windows\system32>taskkill/im java.exe/f
Success: The process "Java.exe" has been terminated with a PID of 3592.
Success: The process "Java.exe" has been terminated with a PID of 7536.
Success: The process "Java.exe" has been terminated with a PID of 9308.
Success: The process "Java.exe" has been terminated with a PID of 6320.
Success: The process "Java.exe" has been terminated with a PID of 9828.
Success: The process "Java.exe" has been terminated with a PID of 10032.
Success: The process "Java.exe" has been terminated with a PID of 7464.
Success: The process "Java.exe" has been terminated with a PID of 20096.
Success: The process "Java.exe" has been terminated with a PID of 7016.
Success: The process "Java.exe" has been terminated with a PID of 1424.
Success: The process "Java.exe" has been terminated with a PID of 7316.

C:\windows\system32>

Ports and processes

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.