1.查询端口占用进程,即某个端口被谁占用
netstat -ano
如果提示不是内部或外部命令,则输入:cd C:WindowsSystem32即可将当前操作路径切换到Windows 操作系统的系统文件夹下。然后再输入netstat -ano,即可解决。