1. 点击搜索输入cmd,右键以管理员身份打开命令行 2. 查看占用端口的进程id netstat -ano |findstr 端口号 3. 杀死进程,解除端口占用 taskkill -f -pid 进程id