Check port usage in linux

Source: Internet
Author: User
Linux check port usage netstat-pant | grep80netstat-nat | grep-I & quot; 8080 & quot; | wc-l total windows: if we need to determine who is occupying port 80, and the Windows platform runs: C: \ & gt; netstat-aon | fi... linux check port usage netstat-pant | grep 80 netstat-nat | grep-I "8080" | total wc-l windows: if we need to determine who is occupying port 80, and the Windows platform runs: C: \> netstat-aon | findstr "80" TCP 127.0.0.1: 80 0.0.0.0: 0 LISTENING 2448 have you seen it? the port is occupied by the process with process number 2448. continue to execute the following command: C: \> tasklist | findstr "2448" thread.exe 2016 Console 0 16,064 K it is clear that thread occupies your port and Kill it
Related Article

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.