打开dos命令(windows+r),输入cmd找出占用的端口的进程pid(以1099端口为例:netstat -ano | findstr 1099)taskkill -pid 进程pid -f 或者 taskkill -f -pid 进程id