You often see example hello world code for Node that creates an Http Server, starts listening on a port, then followed by something along the lines of:
conso
Requiring the http module was never necessary.
An additional import of http is not necessary in Express 3 or 4. Assigning the result of listen() is enough.
var server = require('express')();
server.get('/', function(req, res) {
res.send("Hello Foo!");
});
var listener = server.listen(3000);
console.log('Your friendly Express server, listening on port %s', listener.address().port);
// Your friendly Express server, listening on port 3000
Again, this is tested in Express 3.5.1 & 4.0.0. Importing http was never necessary. The listen method returns an http server object.
https://github.com/visionmedia/express/blob/master/lib/application.js#L531