Profile picture for user admin_romcom

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.
 o     o   o   o-o    --   o--o  
| |\ /| | o o | |
| | O | o-o / O--o
| | | | / | |
O---o o o o--o o--o o--o

Enter the code depicted in ASCII art style.