title: localhost:8080 not running in unicorn
body: <p>In my VM ubuntu32, I have nginx installed. </p>
  
  <pre><code>http://192.168.11.8/ 
  </code></pre>
  
  <p>displays Welcome nginx! page. </p>
  
  <p>I added rails app in vagrant dir. I have unicorn gem installed and followings in railapp/config/unicorn.rb</p>
  
  <pre><code>working_directory File.expand_path("../..", __FILE__)
  </code></pre>
  
  <p>Now when I run </p>
  
  <pre><code>vagrant@precise32:/vagrant$ bundle exec unicorn -c config/unicorn.rb
  </code></pre>
  
  <p>, it displays the followings in my terminal.</p>
  
  <pre><code>vagrant@precise32:/vagrant$ bundle exec unicorn -c config/unicorn.rb
  I, [2013-11-02T03:53:34.983828 #19364]  INFO -- : listening on addr=0.0.0.0:8080 fd=9
  I, [2013-11-02T03:53:34.984324 #19364]  INFO -- : worker=0 spawning...
  I, [2013-11-02T03:53:34.985178 #19364]  INFO -- : master process ready
  I, [2013-11-02T03:53:34.986044 #19479]  INFO -- : worker=0 spawned pid=19479
  I, [2013-11-02T03:53:34.986595 #19479]  INFO -- : Refreshing Gem list
  I, [2013-11-02T03:53:37.303696 #19479]  INFO -- : worker=0 ready
  </code></pre>
  
  <p>However when I visit localhost:8080, it displays "Oops! Google Chrome could not connect to localhost:8080".</p>
  
  <p>When I run <code>bundle exec rails s</code>, then the railsapp works at</p>
  
  <pre><code>http://192.168.11.8:3000/
  </code></pre>
  
  <p>What am I doing wrong?</p>