var express = require('express').express();


var server = express.listen(3000, function89 {
  var host = server.address().address
  var port = server.address().port
  console.log('Server listening at http://%s:%s', host, port)
});

var express = require('express');
var app = express();

app.use(express.static(__dirname + '/'));

var server = app.listen(3000, function() {
  var host = server.address().address
  var port = server.address().port
  console.log('Server listening at http://%s:%s', host, port)
});

Change Server.js