Vagrant 卡住连接超时重试 [英] Vagrant stuck connection timeout retrying
本文介绍了Vagrant 卡住连接超时重试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的流浪者昨晚工作得很好.我刚刚打开电脑,点击vagrant up
,这就是我得到的:
My vagrant was working perfectly fine last night. I've just turned the PC on, hit vagrant up
, and this is what I get:
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Error: Connection timeout. Retrying...
default: Error: Connection timeout. Retrying...
default: Error: Connection timeout. Retrying...
default: Error: Connection timeout. Retrying...
default: Error: Connection timeout. Retrying...
default: Error: Connection timeout. Retrying...
default: Error: Connection timeout. Retrying...
default: Error: Connection timeout. Retrying...
default: Error: Connection timeout. Retrying...
default: Error: Connection timeout. Retrying...
default: Error: Connection timeout. Retrying...
default: Error: Connection timeout. Retrying...
default: Error: Connection timeout. Retrying...
有没有人遇到过这种情况?vagrant 尚未在网络上广泛覆盖,我找不到发生这种情况的原因.
Has anyone had this before? vagrant isn't widely covered on the web yet and I can't find a reason why this is occurring.
推荐答案
我找到的解决方案是检查连接到 NAT 的适配器 1 中的电缆连接选项.我真的不知道,这是我的第 4 个流浪者盒子,但这是唯一一个没有选中电缆连接选项的盒子,经过检查,它可以工作.
The solution I've found is to check the cable connection option in the adapter 1 which is attached to NAT. I really don't know, this is my 4th vagrant box but this is the only one with cable connection option not checked, and upon checking it, it works.
这篇关于Vagrant 卡住连接超时重试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文