Current location - Quotes Website - Collection of slogans - How to check the port occupation under Windows?
How to check the port occupation under Windows?
1. Click the Start menu, enter cmd, and then press Enter.

2. Enter the netstat -an command in the cmd dialog box that appears. You can see the usage of the port.

3. You can also directly check whether a specific port number is occupied, and enter the following command: netstat -aon|findstr "port number ". For example, check the usage of port 80: netstat -aon|findstr "80 ".

4. Of course, the netstat command is more than that. If you want to know more about the usage of netstat, you can enter the netstat -help command.