1. 查看占用端口命令 netstat -ano|findstr 8089 2.杀死命令(根据PID) taskkill -f -pid 21084 另外:可以根据下面命令查看是哪个程序占用了端口 tasklist|findstr 21084