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!

貢獻者指南