title: XAMPP - cannot browse localhost
body: <p>I am having trouble with my xampp setup. Managed successfully to install apache and sql services but still I cannot browse localhost using either chrome, firefox or IE.</p>
  
  <p>Actually I get the same error log with this guy here:
  <a href="https://stackoverflow.com/questions/20213147/cannot-load-localhost-in-browser-xampp">cannot load localhost in browser - xampp</a> </p>
  
  <p>with the exception that when I try the following command "<strong>telnet 127.0.0.1 8888</strong>" (8888 is the port I use for apache) and then press GET and return I get this message:</p>
  
  <p><code>&lt;br /&gt;</code>
     <code>&lt;b&gt;Notice&lt;/b&gt;: Undefined index: HTTP_HOST in &lt;b&gt;C:xampp\htdocs\index.php</code>
  <code>&lt;/b&gt; on line &lt;b&gt;7&lt;/b&gt;&lt;br /&gt;</code></p>
  
  <p><code>Connection to host lost.</code></p>
  
  <p><code>C:\Users\xxxx&gt;</code></p>
  
  <p>Any idea how to fix this?
  I am using windows 8.1 by the way.</p>