报错:
使用vagrant up 启动VirtualBox虚拟机时报错:
Stderr: VBoxManage.exe: error: A NAT rule of this name already exists
VBoxManage.exe: error: Details: code E_INVALIDARG (0x80070057), component NATEngineWrap, interface INATEngine, callee IUnknown
VBoxManage.exe: error: Context: "AddRedirect(Bstr(strName).raw(), proto, Bstr(strHostIp).raw(), RTStrToUInt16(strHostPort), Bstr(strGuestIp).raw(), RTStrToUInt16(strGuestPort))" at line 2102 of file VBoxManageModifyVM.cpp
原因:
根据错误信息可以看到是网络冲突了
解决:
将虚拟机的混杂模式修改为拒绝
打开VirtualBox虚拟机
设置-》网络-》网卡-》高级-》混杂模式-》设置为拒绝
标签:exe,虚拟机,raw,already,报错,NAT,error From: https://www.cnblogs.com/etangyushan/p/18070377