VishnuAmit/LapProFix

Help Needed: MongoDB Atlas Connection Issues

开放

#34 创建于 2024年10月10日

 (4 条评论) (0 个反应) (0 位负责人)TypeScript (17 个派生)auto 404
Hacktoberfesthacktoberfest-acceptedhelp wanted

仓库指标

星标
 (2 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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!

贡献者指南