Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

3K
Views
Error: consultaSrv ENOTFOUND _mongodb._tcp.cluster0.kspub.mongodb.net

mi aplicación web no puede conectarse a mongo dB atlas y me muestra el siguiente error

 Failed to connect to the database :Error: querySrv ENOTFOUND _mongodb._tcp.cluster0.kspub.mongodb.net 2022-01-18T16:58:59.817138+00:00 app[web.1]: (node:34) UnhandledPromiseRejectionWarning: Error: querySrv ENOTFOUND _mongodb._tcp.cluster0.kspub.mongodb.net 2022-01-18T16:58:59.817138+00:00 app[web.1]: at QueryReqWrap.onresolve [as oncomplete] (dns.js:210:19) 2022-01-18T16:58:59.817139+00:00 app[web.1]: (Use `node --trace-warnings ...` to show where the warning was created)

mensaje de error

aunque funciona localmente y se conecta a la base de datos, aquí está mi códigohttps://github.com/yara121/mern-app/blob/main/server/src/app.js

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Visite su tablero de mongodb atlas >> Vaya a su acceso a la red >> Edite su dirección IP actual en la lista blanca >> haga clic en "Permitir acceso desde cualquier lugar"

Esto hizo el truco para mí, gracias

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!