View the computer port status

Source: Internet
Author: User
1. The computer port is the outlet for communication between the computer and the outside world,
2. Run the netstat command in Windows to check the port opened on the machine. Go to the command line and use the parameters a and N of the netstat command. The result is as follows:
C:/> netstat-
Active connections
PROTO local address foreign address State
TCP 0.0.0.0: 80 0.0.0.0: 0 listening
TCP 0.0.0.0: 21 0.0.0.0: 0 listening
TCP 0.0.0.0: 7626 0.0.0.0: 0 listening
UDP 0.0.0.0: 445 0.0.0.0: 0
UDP 0.0.0.0: 1046 0.0.0.0: 0
UDP 0.0.0.0: 1047 0.0.0.0: 0
Active connections refers to the active connection of the local machine, and proto refers to the protocol name used for the connection. Local address is the IP address of the Local Computer and the port number being used for the connection, foreign address is the IP address and port number of the remote computer connected to this port, and State indicates the TCP connection status.
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.