var listener = app.listen(process.env.PORT, function () { code example Example: const port = process.env.port || 3000 const port = process.env.port || 3000