在输入“vagrant up”时,出现以下日志转储。尝试了在VirtualBox上没有任何干扰的情况下,以及手动添加端口转发规则(主机IP 127.0.0.1,主机端口2222,客户端端口22)。
"Bringing machine 'polecat' up with 'virtualbox' provider...
[polecat] Setting the name of the VM...
[polecat] Clearing any previously set forwarded ports...
[polecat] Creating shared folders metadata...
[polecat] Clearing any previously set network interfaces...
[polecat] Preparing network interfaces based on configuration...
[polecat] Forwarding ports...
[polecat] -- 22 => 2222 (adapter 1)
The adapter to attach a forwarded port to was not found. Please
verify that the given adapter is setup on the machine as a NAT
interface.
Host port: 2222
Guest port: 22
Adapter: 1"
请问有谁能解释一下我需要做什么才能解决这个问题吗?很遗憾,谷歌搜索没有帮到我,而我项目中的其他用户似乎只是自动解决了这个问题!
感谢任何帮助!