Ticket: Connection (Javascript)

WHen I run :

npm test -t db-connection

I get :

Whan can I do?

Thanks a lot !!!

Xavi

I have replied in the other thread. Please make sure:

  • IP is whitelisted
  • Firewall is not blocking the request

Kanika

Hello Kanika,

THis is my securtiy tab:

And this is connect window:

And this is .env file

Ticket: Connection

Rename this file to .env after filling in your MFLIX_DB_URI and your SECRET_KEY

Do not surround the URI with quotes

SECRET_KEY=this_is_a_super_secret_key_valid_for_me9999
MFLIX_DB_URI=mongodb+srv://m220student:m220password@mflix-4xvac.mongodb.net/test
MFLIX_NS=mflix
PORT=5000

Windows firewall is disabled

Antivirus (Avast) is disabled

The issue is the same… Thanks for your help !!

Is there any way to check if I can reach to atlas cluster from mongo shell ?

This is error message:

image.png

And this is when run npm start

Thanks in advance. It lefts only one day and I need this in order to continue. MongoDB career for me it’s very important.

Best regards,

Xavi

Missatge de Kanika Singla via MongoDB University Discussion Forum mongodb_university@discoursemail.com del dia dl., 20 de maig 2019 a les 15:04:

Run this command from your shell to check if you are able to connect. I am able to connect. I

Kanika