1.查看端口是否被占用: netstat -ano |findstr 1099(端口号) 2.查看端口被那个进程占用:tasklist | findstr "6680" 3.打开任务管理器,把进程ID杀掉