title: Express Server returns Cannot Get when trying to access index.html
body: <p>I referred to the previously asked question on this but couldnt resolve it. I have Express server installed and trying to run Index.html file through it.
  But I am getting 'Cannot GET /' as the response.</p>
  
  <p>Here is the server.js through which I calling the index.html</p>
  
  <pre><code>var express = require('express');
  var app = express();
  
  app.get('index.html', function (req, res) {
  
    app.use("/", express.static(__dirname));
  });
  
  var server = app.listen(3000, function () {
    var host = server.address().address;
    var port = server.address().port;
  
    console.log('Example app listening at http://%s:%s', host, port);
  });
  </code></pre>
  
  <p>Thanks in advance!!</p>