Node.js connect create loop
var connect = require('connect'); var app = connect().use(function(req,res,next){ next();//from w w w . j a va 2s . com }).listen(3000); console.log('server running on port 3000');