解决方法:以8080端口为例 1. netstat -aon|findstr "8080" 可以查出8080端口被进程号为 xxx 的进程所占用 2. tasklist | findstr "xxx" 就知道是那个程序占用的端口了