MongoDB中的连接错误“ TransientTransactionError”

时间:2019-01-14 05:07:45

标签: database mongodb

连接时出错:

  

{       “ message”:“在第一次连接[MongoNetworkError:connect ECONNREFUSED 127.0.0.1:27017]时无法连接到服务器[127.0.0.1:27017]”,       “ stack”:“错误:首次连接[MongoNetworkError:连接ECONNREFUSED 127.0.0.1:27017]时,无法连接到服务器[127.0.0.1:27017]]” +                 “在池中。(C:\ Users \ Administrator \ AppData \ Local \ Programs \ nosqlbooster4mongo \ resources \ app.asar \ node_modules \ mongodb-core \ lib \ topologies \ server.js:564:11)” +                 “在emitOne(events.js:115:13)” +                 “在Pool.emit(events.js:210:7)” +                 “在连接时。(C:\ Users \ Administrator \ AppData \ Local \ Programs \ nosqlbooster4mongo \ resources \ app.asar \ node_modules \ mongodb-core \ lib \ connection \ pool.js:317:12)“ +                 “在Object.onceWrapper(events.js:318:30)” +                 “在attTwoTwo(events.js:125:13)” +                 “在Connection.emit(events.js:213:7)” +                 “在套接字上。(C:\ Users \ Administrator \ AppData \ Local \ Programs \ nosqlbooster4mongo \ resources \ app.asar \ node_modules \ mongodb-core \ lib \ connection \ connection.js:246:50)“ +                 “在Object.onceWrapper(events.js:316:30)” +                 “在emitOne(events.js:115:13)” +                 “在Socket.emit(events.js:210:7)” +                 “在emitErrorNT(内部/流/destroy.js:64:8)” +                 “在_combinedTickCallback(内部/进程/next_tick.js:138:11)” +                 “在process._tickCallback(内部/进程/next_tick.js:180:9)处”,       “ name”:“ MongoNetworkError”,       “ errorLabels”:[           “ TransientTransactionError”       ]   }

0 个答案:

没有答案