1)查看端口与进程
netstat -ano
2)查看某个具体的端口所占用的进程号
#查看8080端口号占用进程 netstat -ano|findstr 8080
3)杀掉进程
#杀掉PID为 6244 的进程 taskkill /f /pid 6244