Skip to content

Commit

Permalink
fix(passive): listen on server hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
trs committed May 25, 2018
1 parent 47b2cc0 commit b0463d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connector/passive.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Passive extends Connector {
});

return new Promise((resolve, reject) => {
this.dataServer.listen(port, err => {
this.dataServer.listen(port, this.server.url.hostname, err => {
if (err) reject(err);
else {
this.log.debug({port}, 'Passive connection listening');
Expand Down

0 comments on commit b0463d6

Please sign in to comment.