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

app.use(logfmt.requestLogger());

app.get('/', function(req, res) {
  res.send('Hello World!');
});

var port = 80;
app.listen(port, function() {
  console.log('Listening on ' + port);
});

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

app.use(logfmt.requestLogger());

app.get('/', function(req, res) {
  res.send('Hello World!');
});

var port = process.env.PORT || 80;
app.listen(port, function() {
  console.log('Listening on ' + port);
});

fix port selection