tell server to adhere to new option for network interface binding
This commit is contained in:
parent
53c1ef5786
commit
aa9a469bb4
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ module.exports = function(opts, callback) {
|
|||
return data;
|
||||
});
|
||||
|
||||
var server = app.listen(process.env.PORT || opts.port, function() {
|
||||
var server = app.listen(process.env.PORT || opts.port, process.env.BIND || opts.bind, function() {
|
||||
console.log('Listening at http://%s:%d/',
|
||||
this.address().address, this.address().port);
|
||||
|
||||
|
|
Loading…
Reference in a new issue