Home > database >  Directing a standalone instance configuration more replicate sets an error in the process
Directing a standalone instance configuration more replicate sets an error in the process

Time:09-20

> Var rsconf={
. _id: 'rssite2',
. Members: [
. {
. _id: 0,
. Host: '10.66.102.92:27017
. },
. {
. _id: 1,
. Host: '10.66.102.92:27018
. },
. {
. _id: 2,
. Host: '10.66.102.92:27019
. }
. ]
. }



Rs. Initiate (rsconf);
{
"OperationTime" : the Timestamp (0, 0),
"Ok" : 0,
"Errmsg" : "replSetInitiate quorum check failed because not all programs set members responded affirmatively: 10.66.102.92:27018 failed with Error connecting to 10.66.102.92:27018: : under caused by: : Connection refused, 10.66.102.92:27019 failed with Error connecting to 10.66.102.92:27019: : under caused by: : Connection refused",
"Code" : 74,
"CodeName" : "NodeNotFound,"
"$clusterTime" : {
"ClusterTime" : the Timestamp (0, 0),
"Signature" : {
"Hash" : BinData (0, "AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
"KeyId" : NumberLong (0)
}
}
}


CodePudding user response:

, every brother please grant instruction!!!!!!

CodePudding user response:

Is resolved, the reason is because bindIp 127.0.0.1, lead to host even in the past, not modify bindIp as 0.0.0.0
  • Related