1.打开CMD,输入 netstat -ano|findstr 8080 命令,此时可获取 8080 端口对应的 TCP 信息 netstat -ano|findstr 端口号 2.在cmd 输入 taskkill /f /t /im 11488 以及对应的 TCP 号,来关掉被占用的端口 taskkill /f /t /im tcp号