title: Apache connection refused outside of localhost
body: <p>I'm running Ubuntu on vmware under windows 10, I set up and configured my apache to these configurations:</p>
  
  <p>/etc/apache2/apache2.conf</p>
  
  <pre><code>&lt;Directory /&gt; ... stuff ... Require all granted &lt;/Directory&gt;
  </code></pre>
  
  <p>VirtualHost1</p>
  
  <pre><code> &lt;Directory ...&gt;
  ....
  AllowOverride All 
  Require all granted
  &lt;/&gt;
  </code></pre>
  
  <p>When I call the website from within the ubuntu on my vm it's reached fine, but when I call this site from my windows vm host machine my conn. gets refused. </p>
  
  <p>This is my ubuntu hosts file:</p>
  
  <pre><code>127.0.0.1 test.com www.test.com
  </code></pre>
  
  <p>this is my windows hosts file</p>
  
  <pre><code>127.0.0.1 test.com www.test.com
  </code></pre>
  
  <p>**** All the listings here are approximate, so don't quote mistakes in code, apache restarts just fine</p>