Profile picture for Admin

If Vagrant shows the message on vm start this means that virtual machine can't boot. And there is no case to connect through SSH.

==> 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...

As the solution you can try to view the VM state in GUI. Paste the code in Vagrantfile.local file:

config.vm.provider :virtualbox do |vb|
  vb.gui = true
end

If the problem appears while network is setting up change the settings of the first Network Adapter. Check the checkbox "Cable Connecter":

Settings -> Network -> Adapter 1 -> [v] Cable Connected

Add new comment

The content of this field is kept private and will not be shown publicly.
  • No HTML tags allowed.
 d8888888P  dP          88888888b   888888ba   d888888P 
.d8' 88 88 88 `8b 88
.d8' 88 a88aaaa a88aaaa8P' 88
.d8' 88 88 88 `8b. 88
d8' 88 88 88 .88 88
Y8888888P 88888888P 88888888P 88888888P dP

Enter the code depicted in ASCII art style.