netstat -ano | findstr <端口号> taskkill /F /pid <查询到的pid> 转载于:https://www.cnblogs.com/xxxuwentao/p/10365935.html