通过以上两篇文章可知是docker占用了hypr-v预留端口。
但是实际上我机器的docker已经被我卸载了,而且也没有开启hype-v
那么可能是虚拟机里面安装的docker的问题了
打开虚拟机后发现
VMware Workstation and Device/Credential Guard are not compatible. VMware Workstation can be run after disabling Device/Credential Guard. Please visit http://www.vmware.com/go/turnoff_CG_DG
经过1禁用device——guard
2关闭hype-v
3
以管理员身份运行Windows Powershell (管理员)(Windows键+X)
运行下面命令并重启电脑:
bcdedit /set hypervisorlaunchtype off
进入虚拟机,
用sudo service docker stop将docker停掉,果然在windows里面没看到很多端口被莫名其妙占用了。