Hi guys, I'm having a problem getting the plugin to connect to the mongdb database, the service is ok on my computer and I can access it normally via terminal server, but my rpgjs can't, can anyone help me?
follow the error log:
RPGJS MongoDB => Waiting for connection to MongoDB...
RPGJS MongoDB => A problem occurred when connecting to MongoDB MongooseServerSelectionError: connect ECONNREFUSED ::1:27017
at _handleConnectionErrors (C:\Users\Maycon\Documents\my-rpg\my-rpg-game\node_modules\mongoose\lib\connection.js:809:11)
at NativeConnection.openUri (C:\Users\Maycon\Documents\my-rpg\my-rpg-game\node_modules\mongoose\lib\connection.js:784:11) {
reason: TopologyDescription {
type: 'Unknown',
servers: Map(1) { 'localhost:27017' => [ServerDescription] },
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: null,
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined
}