Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hi,
I have made an Authentication API with Node.js and MongoDB which works perfectly on my local machine. As soon as I upload it to Digital Ocean with Ubuntu, however, everything that doesn’t rely on MongoDB works (for example, I have some validation code that checks if the send email is actually an email or not and if it isn’t I get the appropriate response back so the nod.js code is working without errors.) However, if I send details that require to use the MongoDB part of the code, nothing happens. I send the request through Postman and it just stays on ‘Sending request’. When I connect to the database, it prints out “Database connected” so it connects to the database correctly, just won’t do any of the queries I ask it to do.
Am I missing something or any steps I haven’t gone through? I haven’t got a firewall on the Ubuntu Server either so anything should go through it.
personal
7c31733a76c942f69d6186090a3787
antoine
Jamal
DriftingNavyFish
4a14ba3a148542cab1814465d54cbf
Mattia
SleepingAquamarineMantaRay
AI-LastWish
Marcos Lemos