79572637

Date: 2025-04-14 08:07:38
Score: 2
Natty:
Report link

I was able to connect to my mongodb community db running on Ec2 t2 micro through Mongodb compass, but couldn't connect to it through node js server running on the same instance. After increasing serverSelectionTimeoutMS=3000 from 3000 to 2000 in the mongodb connection uri worked.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ali Ibraheem