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 |
---|---|---|---|
Need help plis ASAP | 2 | 676 | Jun 2024 |
Not able to start service with MONGODB 7.0.5 on Rcoky linux 9 | 0 | 363 | Jul 2024 |
MongoDB log is flooded with SSL error warnings | 0 | 328 | Jul 2024 |
Upgrading MongoDB Replica Set from 4.0 to 7.0 – Potential Issues and Considerations | 1 | 92 | Dec 2024 |
Terminal not recognizing brew tap mongodb/brew command when I try to set up MongoDB | 0 | 40 | Jan 9 |