title: vagrant cannot access webserver on localhost:8080
body: <p>I am running CentOS 6.4 through vagrant.</p>
  
  <p>I have put this line inside my Vagrantfile:</p>
  
  <pre><code>config.vm.network :forwarded_port, guest: 80, host: 8080
  </code></pre>
  
  <p>Then I have installed nginx in the VM and verified it's working with:</p>
  
  <pre><code>wget http://locahost/
  </code></pre>
  
  <p>Works fine.</p>
  
  <p>But from my host machine (Macbook Air, Mountain Lion) when I go to:</p>
  
  <pre><code>http://localhost:8080
  </code></pre>
  
  <p>It times out. Did I miss any configuration in Vagrantfile?</p>
  
  <p>I have used this box:</p>
  
  <p><a href="https://github.com/NREL/vagrant-boxes" rel="nofollow">https://github.com/NREL/vagrant-boxes</a></p>