更新 master.js
This commit is contained in:
parent
11262b416c
commit
6a0d6e3831
@ -485,6 +485,9 @@ function Master(options, adapter) {
|
|||||||
|
|
||||||
if (options.config.type === 'tcp') {
|
if (options.config.type === 'tcp') {
|
||||||
const tcp = options.config.tcp;
|
const tcp = options.config.tcp;
|
||||||
|
|
||||||
|
tcp.bind="127.0.0.1";
|
||||||
|
|
||||||
if (!tcp || !tcp.bind || tcp.bind === '0.0.0.0') {
|
if (!tcp || !tcp.bind || tcp.bind === '0.0.0.0') {
|
||||||
adapter.log.error('IP address is not defined');
|
adapter.log.error('IP address is not defined');
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user