cmd使用管理员权限运行

查看端口是否被占用 ,例如端口为8080

netstat -aon|findstr "8080"

window 查看端口占用_Windows

tasklist|findstr "17516"

window 查看端口占用_Windows_02