Skip to content

Help Needed: MongoDB Atlas Connection Issues #34

@VishnuAmit

Description

@VishnuAmit

Hey everyone,

I need your help with an issue I'm facing while trying to connect to my MongoDB Atlas database. It worked fine previously, but now I’m getting the following errors:

  1. Connection Timeout: It seems like the connection attempt times out after 10 seconds, which is leading to the first error.

  2. IP Whitelist Issue: I keep receiving an error related to whitelisting. Although I’m adding my current IP address to the network access settings in MongoDB Atlas, I still can’t connect.

Background

  • I have only one system with a static IP address, yet this issue persists every time I attempt to connect.
  • I've double-checked the connection string in my .env file to ensure it’s correct.

Errors

I’ve attached screenshots of the console errors for reference.

Console Error
Whitelist Error

If anyone has suggestions or knows how to resolve these issues, please comment below. Your help would be greatly appreciated!

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions