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 community,
I have created a droplet Ubuntu 20.04 (LTS) x64. Inside this server I have configured a MongoDB database (version 4.4), a NodeJS (version 14.18.3) and inside my NodeJS enviroment I have installed a frontend application (React) and a backend (Express).
I have the following status:
The issue: When I try to access MongodB through the backend “http://(iphost}:3333/login”, the backend stops working (Error: socket hang up) meaning that I might have an issue between the backend and MongodB. In more details it shows an error related to decryption (Error: Error during decryption (probably incorrect key). Original error: Error: error:04099079:rsa routines:RSA_padding_check_PKCS1_OAEP_mgf1:oaep decoding error), however my “.pem” file is correct and the address of this file is also correct.
My question: Is there any kind of limitation in terms of PORTS access that might avoid this communication between Backend (3333) and MongodB (27017)? Has anyone faced this kind of error? Any suggestion?
Important: This application (frontend+backend+mongodB) has the same configuration as I have installed and is working in my local computer.
Important(2): Unfortunatelly I cannot upgrade my system (mongodb, NodeJs and NPM) because it is a legacy application.
Many thanks and Regards
ebeecroft
Noor Ellis
384d3f11289345379905a243f7b817
IsaacMvd
Ervan Agus
Teckno
dc1bce8262314f84b368813178d9e4
gerard
gerard
Stan Flint