Listen 'address' for Telnet
This commit is contained in:
parent
3460b98bf5
commit
8114a1e3f2
|
@ -875,7 +875,7 @@ exports.getModule = class TelnetServerModule extends LoginServerModule {
|
|||
return cb(Errors.Invalid(`Invalid port: ${config.loginServers.telnet.port}`));
|
||||
}
|
||||
|
||||
this.server.listen(port, err => {
|
||||
this.server.listen(port, config.loginServers.telnet.address, err => {
|
||||
if(!err) {
|
||||
Log.info( { server : ModuleInfo.name, port : port }, 'Listening for connections' );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue