window查看端口占用:进程
netstat -ano:列出系统全部端口使用状况。端口
netstat -ano|findstr 8080系统
tasklist:列出全部进程。
tasklist|findstr 8080
taskkill /? 结束进程.