title: default: Warning: Remote connection disconnect. Retrying
body: <p>When I run <code>vagrant up</code>, I get:</p>
  
  <pre><code>D:\GitHub\website\rails-dev-box&gt;vagrant up
  Bringing machine 'default' up with 'virtualbox' provider...
  ==&gt; default: Checking if box 'ubuntu/trusty32' is up to date...
  ==&gt; default: Clearing any previously set forwarded ports...
  ==&gt; default: Clearing any previously set network interfaces...
  ==&gt; default: Preparing network interfaces based on configuration...
      default: Adapter 1: nat
  ==&gt; default: Forwarding ports...
      default: 3000 =&gt; 1234 (adapter 1)
      default: 22 =&gt; 2222 (adapter 1)
  ==&gt; default: Booting VM...
  ==&gt; 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: Warning: Connection timeout. Retrying...
      default: Warning: Remote connection disconnect. Retrying...
      default: Warning: Remote connection disconnect. Retrying...
      default: Warning: Remote connection disconnect. Retrying...
      default: Warning: Remote connection disconnect. Retrying...
      default: Warning: Remote connection disconnect. Retrying...
      default: Warning: Remote connection disconnect. Retrying...
      default: Warning: Remote connection disconnect. Retrying...
  </code></pre>
  
  <p>This warning will be for ever ..</p>
  
  <p>What I've noticed is that if I started the VM manually ( without vagrant ) it will work without any delay, but only If I enabled Adapter 2 at VM settings like this:<img src="https://i.stack.imgur.com/HbaJv.png" alt="enter image description here">
  How can I enable Adapter 2 of VM when using <code>vagrant up</code> ?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p><code>Vagrantfile</code> is:</p>
  
  <pre><code># -*- mode: ruby -*-
  # vi: set ft=ruby :
  Vagrant::Config.run do |config|
  #     config.vm.network :hostonly, "192.168.50.4"
  end
  
  
  
  Vagrant.configure('2') do |config|
  
    config.vm.box      = 'ubuntu/trusty32'
    config.vm.hostname = 'rails-dev-box'
  # config.vm.synced_folder ".", "/vagrant/web" #, type: "nfs"
  
  config.vm.provider :virtualbox do |vb|
    vb.gui = true
  end
  
   config.vm.boot_timeout = 120
  
   #  config.winnfsd.uid = 1
     # config.winnfsd.gid = 1
  
    config.vm.network :forwarded_port, guest: 3000, host: 1234
  
    config.vm.provision :shell, path: 'bootstrap.sh', keep_color: true
  end
  </code></pre>