Gateway distributed, AB two servers, startup error?

AB two servers, A server has registration service register,B server, other service registration address points to A server, A server starts independently, B server moves together, both servers report errors. The error code is as follows:

PHP Warning:  stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/wwwroot/testchar1/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185
PHP Warning:  stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/wwwroot/testchar1/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185
PHP Warning:  stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/wwwroot/testchar1/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185

Warning: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/wwwroot/testchar1/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185

Warning: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/wwwroot/testchar1/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185

Warning: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/wwwroot/testchar1/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185
PHP Warning:  stream_socket_client(): unable to connect to tcp://:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /www/wwwroot/testchar1/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185
PHP Warning:  stream_socket_client(): unable to connect to tcp://:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /www/wwwroot/testchar1/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185

Warning: stream_socket_client(): unable to connect to tcp://:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /www/wwwroot/testchar1/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185
PHP Warning:  stream_socket_client(): unable to connect to tcp://:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /www/wwwroot/testchar1/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185

Warning: stream_socket_client(): unable to connect to tcp://:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /www/wwwroot/testchar1/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185

Warning: stream_socket_client(): unable to connect to tcp://:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /www/wwwroot/testchar1/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185
GatewayConnection Error : 1 ,php_network_getaddresses: getaddrinfo failed: Name or service not known
GatewayConnection Error : 1 ,php_network_getaddresses: getaddrinfo failed: Name or service not known
GatewayConnection Error : 1 ,php_network_getaddresses: getaddrinfo failed: Name or service not known

B server reports an error as follows:

PHP Warning:  stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/wwwroot/testchar2/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185

Warning: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/wwwroot/testchar2/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185
PHP Warning:  stream_socket_client(): unable to connect to tcp://:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /www/wwwroot/testchar2/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185

Warning: stream_socket_client(): unable to connect to tcp://:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /www/wwwroot/testchar2/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185
GatewayConnection Error : 1 ,php_network_getaddresses: getaddrinfo failed: Name or service not known
PHP Warning:  stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/wwwroot/testchar2/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185

Warning: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/wwwroot/testchar2/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185
PHP Warning:  stream_socket_client(): unable to connect to tcp://:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /www/wwwroot/testchar2/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185

Warning: stream_socket_client(): unable to connect to tcp://:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /www/wwwroot/testchar2/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185
GatewayConnection Error : 1 ,php_network_getaddresses: getaddrinfo failed: Name or service not known
PHP Warning:  stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/wwwroot/testchar2/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185

Warning: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/wwwroot/testchar2/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185
PHP Warning:  stream_socket_client(): unable to connect to tcp://:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /www/wwwroot/testchar2/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185

Warning: stream_socket_client(): unable to connect to tcp://:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /www/wwwroot/testchar2/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185
GatewayConnection Error : 1 ,php_network_getaddresses: getaddrinfo failed: Name or service not known
PHP Warning:  stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/wwwroot/testchar2/GatewayWorker/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 185

the original code of the blood transfusion is as follows
A server code:
start.php

<?php
define("_gateway_PORT_","websocket://0.0.0.0:29355");
define("_registerAddress_","0.0.0.0:1349");//
define("_register_text_","text://0.0.0.0:1349");//register text
define("_startPort_","3939");//
define("_GlobalData_IP_","0.0.0.0");//
define("_GlobalData_PORT_","1234");//

ini_set("display_errors", "on");
use Workerman\Worker;
use GlobalData\Server;

define("GLOBAL_START", 1);

require_once __DIR__ . "/vendor/autoload.php";
require_once __DIR__ . "/src/Server.php";
require_once __DIR__ . "/src/Client.php";
foreach(glob(__DIR__."/Applications/*/start*.php") as $start_file)
{
    require_once $start_file;
}
$worker = new GlobalData\Server(_GlobalData_IP_, _GlobalData_PORT_);
Worker::runAll();

start_register.php Code:

use \Workerman\Worker;
use \GatewayWorker\Register;
require_once __DIR__ . "/../../vendor/autoload.php";
$register = new Register(_register_text_);
if(!defined("GLOBAL_START"))
{
    Worker::runAll();
}

start_gateway.php Code:

use \Workerman\Worker;
use \Workerman\WebServer;
use \GatewayWorker\Gateway;
use \GatewayWorker\BusinessWorker;
use \Workerman\Autoloader;
require_once __DIR__ . "/../../vendor/autoload.php";
$gateway = new Gateway(_gateway_PORT_);
$gateway->name = "testws";
$gateway->count = 4;
$gateway->lanIp = "AIP";
$gateway->startPort = _startPort_;
$gateway->registerAddress = _registerAddress_;
if(!defined("GLOBAL_START"))
{
    Worker::runAll();
}

start_businessworker.php Code:

use \Workerman\Worker;
use \Workerman\WebServer;
use \GatewayWorker\Gateway;
use \GatewayWorker\BusinessWorker;
use \Workerman\Autoloader;
use GlobalData\Client;

require_once __DIR__ . "/../../vendor/autoload.php";
$worker = new BusinessWorker();
$worker->name = "intobustest";
$worker->count = 4;
// 
$worker->registerAddress = _registerAddress_;
$worker->onWorkerStart = function($worker)
{
    global $globaldata;
    $globaldata = new GlobalData\Client(_GlobalData_IP_.":"._GlobalData_PORT_);
};
if(!defined("GLOBAL_START"))
{
    Worker::runAll();
}

B server code is as follows:
start.php:

define("_gateway_PORT_","websocket://0.0.0.0:29355");
define("_registerAddress_","A:1349");//
define("_startPort_","4939");//
define("_GlobalData_IP_","A");//
define("_GlobalData_PORT_","1234");//
ini_set("display_errors", "on");
use Workerman\Worker;

define("GLOBAL_START", 1);

require_once __DIR__ . "/vendor/autoload.php";
require_once __DIR__ . "/src/Client.php";
foreach(glob(__DIR__."/Applications/*/start*.php") as $start_file)
{
    require_once $start_file;
}
// 
Worker::runAll();

start_gateway.php:

use \Workerman\Worker;
use \Workerman\WebServer;
use \GatewayWorker\Gateway;
use \GatewayWorker\BusinessWorker;
use \Workerman\Autoloader;

require_once __DIR__ . "/../../vendor/autoload.php";

$gateway = new Gateway(_gateway_PORT_);
$gateway->name = "YourAppGateway";
$gateway->count = 4;
// ipip
$gateway->lanIp = "IP";
$gateway->startPort = _gateway_PORT_;
$gateway->registerAddress = _registerAddress_;
if(!defined("GLOBAL_START"))
{
    Worker::runAll();
}

start_businessworker.php:

use \Workerman\Worker;
use \Workerman\WebServer;
use \GatewayWorker\Gateway;
use \GatewayWorker\BusinessWorker;
use \Workerman\Autoloader;
require_once __DIR__ . "/../../vendor/autoload.php";
$worker = new BusinessWorker();
$worker->name = "YourAppBusinessWorker";
$worker->count = 4;
$worker->registerAddress = _registerAddress_;
$worker->onWorkerStart = function($worker)
{
    global $globaldata;
    $globaldata = new GlobalData\Client(_GlobalData_IP_.":"._GlobalData_PORT_);
};
if(!defined("GLOBAL_START"))
{
    Worker::runAll();
}
Php
Jun.20,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2bf58-2bac9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2bf58-2bac9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?