1. Click the "Start" menu in the lower left corner of the screen.
2. Click "Run", or you can use the WIN+R key combination on the keyboard to quickly bring up the "Run" column.
3. Enter "CMD" in the Run column, and then click "OK".
4. The windows DOS interface pops up.
5. Enter "netstat" at the cursor, and then press Enter to display the port number of this machine.
We can also use software to check, such as Tcpview, Port Reporter and so on. Taking Tcpview as an example, this paper introduces the method of checking the open port number of local computer with software:
1, and double-click to run the "Tcpview" program.
2. The program will automatically scan and display the port number.