1、cmd netstat -ano命令查找所有被占用端口
2、netstat -aon|findstr port 查找指定端口程序PID
如:netstat -aon|findstr 8080
3、tasklist|findstr PID 通过PID查找程序名
如:tasklist|findstr 12345
4、进入任务管理器,结束程序
1、cmd netstat -ano命令查找所有被占用端口
2、netstat -aon|findstr port 查找指定端口程序PID
如:netstat -aon|findstr 8080
3、tasklist|findstr PID 通过PID查找程序名
如:tasklist|findstr 12345
4、进入任务管理器,结束程序