Collecting common commands of cmd for developers

1. Solve the problem of port occupancy

1. win + R, enter cmd and press Enter to enter the dos interface
2. Enter netstat -ano|findstr 8080 to view the processes occupying port 8080
3. Enter taskkill /pid 10148 /f to end the displayed process number (mine is 10148)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325748705&siteId=291194637