Vagrant 连接被拒绝错误 [英] Vagrant Connection Refused Error
问题描述
虚拟盒子 4.3.14流浪者 1.6.3
Virtual Box 4.3.14 Vagrant 1.6.3
当我流浪时出现此错误
default: warning: connection refused. Retying...
它一直持续到它放弃并说
it goes on and on until it gives up and says
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
我在 Windows 7 上,我什至尝试在管理员模式下运行 cmd 相同的事情
I am on windows 7, I even tried running cmd on administrator mode same thing
我什至尝试了 vagrant reload
,因为我在其他网络资源上阅读,仍然是同样的事情,它输出同样的事情
I even tried vagrant reload
as I read on on other web resources, still same thing, it outputs the same thing
安装后我没有调整我的 virtualbox,基本上只是安装 virtualbox 并安装 vagrant 然后运行 vagrant up
I did not tweak my virtualbox after install, basically just install virtualbox and install vagrant then run vagrant up
顺便说一下,我的 vagrantfile 和配置脚本来自这里
and oh by the way my vagrantfile and provisioning script is from here
https://gist.github.com/JeffreyWay/9244801
https://gist.github.com/JeffreyWay/9244714
一直在谷歌搜索,不幸的是我找不到明确的答案
Been googling and unfurtunately I can't find clear answer
提前交易
推荐答案
好像是 virtual box/vagrant 版本不兼容问题
It seems its a virtual box / vagrant version incompatibility issue
我卸载了 Virtual Box 4.3.14 并安装了 Virtual Box 4.3.12,它工作正常.基本上我降级了虚拟盒子.
I uninstalled Virtual Box 4.3.14 and installed Virtual Box 4.3.12 and it worked. Basically I downgraded virtual box.
我希望这能尽快得到解决.
I hope this gets fixed soon.
希望对大家有所帮助.
这篇关于Vagrant 连接被拒绝错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!