title: Use VirtualBox to access site on host from guest? the host and guest is linux
body: <p>I'm running VirtualBox on a ubuntu (host), the VM i'm using is fedora (guest). VirtualBox is setup to use the NAT network adapter, and I'm able to get to the internet.
  i use Port Forwarding to access ssh and the rails web server </p>
  
  <p><strong>port Forwarding Rules</strong> </p>
  
  <pre><code>  &lt;NAT&gt;
      &lt;DNS pass-domain="true" use-proxy="false" use-host-resolver="false"/&gt;
      &lt;Alias logging="false" proxy-only="false" use-same-ports="false"/&gt;
      &lt;Forwarding name="Rule 1" proto="1" hostport="5679" guestport="22"/&gt;
      &lt;Forwarding name="Rule 2" proto="1" hostport="3080" guestport="3000"/&gt;
    &lt;/NAT&gt;
  </code></pre>
  
  <p>now i can access internet on guest machine , and i can logging through ssh
  but i cannot access the Rails web server on port 3080</p>
  
  <pre><code>i tried : 
  localhost:3080
  10.0.2.15:3080 #the guest IP
  </code></pre>
  
  <p>what i can do all i need is SSH and internet connection and open the web site i host on gust machine by Browser in host machine </p>
  
  <p>thanks </p>