1)window+R-->netstat -ano
2)根据端口号对应的PID号查看是哪个进程或者程序占用了该端口。
a)打开任务管理器-->详细信息
b)tasklist|findstr "PID号"