title: Vagrant localhost 8080 connection issue
body: <p>I am new to vagrant using Windows 10. Started a course on Udacity(Full stack foundation). Now i have created a simple web server script but when i am testing it on localhost:8080 showing error : site can't be reached. Tried a lot but unable to find the solution. On <strong>netstat -aon</strong> showing 0.0.0.0:8080 listening on pid no 1072 but pid is not there in running servies (using Clt+Alt+Del).</p>
  
  <p><strong>web server script</strong> - webserver.py</p>
  
  <pre><code>from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
  class WebServerHandler(BaseHTTPRequestHandler):
      def do_GET(self):
          if self.path.endswith("/hello"):
              self.send_response(200)
              self.send_header('Content-type', 'text/html')
              self.end_headers()
              message = ""
              message += "&lt;html&gt;&lt;body&gt;Hello!&lt;/body&gt;&lt;/html&gt;"
              self.wfile.write(message)
              print message
              return
          if self.path.endswith("/hola"):
              self.send_response(200)
              self.send_header('Content-type', 'text/html')
              self.end_headers()
              message = ""
              message += "&lt;html&gt;&lt;body&gt;Hola!&lt;/body&gt;&lt;/html&gt;"
              self.wfile.write(message)
              print message
              return
          else:
              self.send_error(404, 'File Not Found: %s' % self.path)
  def main():
      try:
          port = 8080
          server = HTTPServer(('', port), WebServerHandler)
          print "Web Server running on port %s" % port
          server.serve_forever()
      except KeyboardInterrupt:
          print " ^C entered, stopping web server...."
          server.socket.close()
  
  if __name__ == '__main__':
      main()
  </code></pre>
  
  <p>Code is executing and terminating properly with no error but on testing it on <a href="http://localhost:8080/hello" rel="nofollow noreferrer">http://localhost:8080/hello</a> (site can't be reached).</p>
  
  <p>Help me. Thanks in Advance.</p>