以端口1099为例: 用命令行cmd 中输入: netstat -aon|findstr 1099 找到占用1099端口的进程,如下图: image.png 用命令行taskkill -f -pid 9780(为上图中的最右侧的PID序号)结束进程9780,如下图 image.png