Hello guys,
can you help me with this issue?
I am following the course M103.
In the last lab I would import a json file.
When I can try to run the command below:
mongoimport --host localhost:27000 --port 27000 --username m103-application-user --password m103-application-pass --db applicationData --collection products --file /dataset/products.json
I recieved this error:
2019-02-04T22:16:33.686+0000 [........................] applicationData.products 0B/87.9MB (0.0%)
2019-02-04T22:16:34.188+0000 [........................] applicationData.products 0B/87.9MB (0.0%)
2019-02-04T22:16:34.188+0000 Failed: error connecting to db server: no reachable servers
2019-02-04T22:16:34.188+0000 imported 0 documents
Can you help me?
Regards,
Antonio.