mongosh command working fine. Also rs.status() also wriking fine. But when trying to run mongorestore command its giving connection error as menitoned below.
error connecting to host: failed to connect to mongodb://mongo-oa1.qa.intra.xyz.com/: server selection error: server selection timeout, current topology: { Type: Single, Servers: [{ Addr: mongo-oa1.qa.intra.xyz.com:27017, Type: Unknown, Last error: connection(mongo-oa1.qa.intra.xyz.com:27017[-61]) socket was unexpectedly closed: EOF: connection(mongo-oa1.qa.intra.xyz.com:27017[-61]) socket was unexpectedly closed: EOF }, ] }
Skip to main content
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
Mongodb docker vm.max_map_count is too low even if set to 524288 | 1 | 2.0k | May 2024 |
How to migrate MongoDB server from RHEL7 to RHEL8 | 2 | 590 | Sep 2024 |
Permission error on mongodb-atlas-local with volume | 5 | 1.3k | Aug 2024 |
Version Upgrade of MongoDB from 3.2 to 7.x | 2 | 98 | Jan 21 |
Downgrade problem : BadValue: Unrecognized field ‘previousVersion’ | 1 | 34 | 28d |