2. Use the netstat command to view the port.
Note: For the detailed usage of the query command, please add/? Parameters, as shown in the figure below, are interpreted in Chinese in Win7 system.