Current location - Quotes Website - Team slogan - CMD what is the command to view IP and port?
CMD what is the command to view IP and port?
1. Check the ip address and use the ipconfig command.

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.