window查看端口占用:進程
netstat -ano:列出系統全部端口使用狀況。端口
netstat -ano|findstr 8080系統
tasklist:列出全部進程。
tasklist|findstr 8080
taskkill /? 結束進程.