Can you extract this into a method? `app.boot` is already way too long.

```js
getFirstDefined(process.env.npm_config_port, ..etc.., 3000)
```