1. Click Start, and then click All Programs.
2. In All Programs, click Attachments. Click Command Prompt in Accessories to open the command prompt window.
3. The command prompt window opens, as shown.
4. Enter "ipconfig /all" in the command prompt window, and then press Enter.
5. After that, you can check the IP address of this machine, as shown in the figure.
6. Next, enter "netstat" in the command prompt window, and then press Enter.
7. This command can view the network port numbers of local address and external address. (For security reasons, it is coded here, and the port number is in the red box. )