Quantcast
Channel: Active questions tagged mongodb-atlas - Stack Overflow
Viewing all articles
Browse latest Browse all 271

MongoDB: Atlas connection problems with Mongo Tools

$
0
0

Hey I am learning how to use a Mongodb Atlas using shell commands.

I can successfully connect to my Atlas cluster via Mongo Shell. Unfortunately I can't do it with Mongo Tools (mongoimport, mongoexport, mongostat).

If I execute this command:

mongostat --uri mongodb+srv://m001-student:m#####s@sandbox.####.###.mongodb.net

I receive:

error parsing command line options: error parsing uri: lookup sandbox.#####.mongodb.net on 127.0.0.53:53: cannot unmarshal DNS message

The same problem repeat itself for other commands. I don't know if it is important but I use Ubuntu 18.04 on a uni network.

I tried to search for any solutions but I couldn't find anything useful. Changing resolv.conf as was suggested here did not achieve anything except cutting my network connection :P

Anyone have any idea?


Viewing all articles
Browse latest Browse all 271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>