处于不同容器的服务和数据库,如何连接
TODO
MongoServerSelectionError: connect ECONNREFUSED 0.0.0.0:27017
at Timeout._onTimeout (/app/node_modules/mongodb/lib/core/sdam/topology.js:430:30)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7) {
reason: TopologyDescription {
type: "Single",
setName: null,
maxSetVersion: null,
maxElectionId: null,
servers: Map(1) { "0.0.0.0:27017" => [ServerDescription] },
stale: false,
compatible: true,
compatibilityError: null,
logicalSessionTimeoutMinutes: null,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
commonWireVersion: null
}
}
以上是 处于不同容器的服务和数据库,如何连接 的全部内容, 来源链接: utcz.com/z/517781.html