windows关闭指定端口(tomcat端口占用)

54 阅读1分钟

1 查看8084端口被什么服务占用 netstat -ano | findstr 8084

2 停止该服务 使用taskkill /PID 28828 /T /F 这行命令停止服务。