Skip to content

Commit

Permalink
bind to ipv6 socket
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleibrand committed Sep 10, 2016
1 parent f1ba301 commit 437ba42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function create (app) {

require('./lib/bootevent')(env).boot(function booted (ctx) {
var app = require('./app')(env, ctx);
var server = create(app).listen(PORT);
var server = create(app).listen(PORT, '::');
console.log(translate('Listening on port'), PORT);

if (ctx.bootErrors && ctx.bootErrors.length > 0) {
Expand Down Expand Up @@ -86,4 +86,4 @@ require('./lib/bootevent')(env).boot(function booted (ctx) {
});
}
}, 20000);
});
});

0 comments on commit 437ba42

Please sign in to comment.