当某个端口被占用的时候需要找到当前端口被占用的进程号 netstat -ano | findstr 1099 如下图所示: 此时再杀死进程,那么端口被占用的情况就会被解决掉 taskkill /pid 1848 /f 相关文章: