更新 master.js
This commit is contained in:
@@ -484,10 +484,10 @@ function Master(options, adapter) {
|
||||
adapter.setState('info.connection', false, true);
|
||||
|
||||
if (options.config.type === 'tcp') {
|
||||
|
||||
options.config.tcp.bind = "127.0.0.1" ;
|
||||
const tcp = options.config.tcp;
|
||||
|
||||
tcp.bind="127.0.0.1";
|
||||
|
||||
if (!tcp || !tcp.bind || tcp.bind === '0.0.0.0') {
|
||||
adapter.log.error('IP address is not defined');
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user