Relative Content

Tag Archive for node.jsmongodbmongooseplesk

unable to connect to mongodb via plesk web server

I have developed a nodejs web server (api) that connects to mongodb database.
I set the mongodb NetworkAccess to be 0.0.0.0, meaning that it connects from evrywhere.
The server api is working fine without any isse from my local machine, and with free hosting on render.
Now I’m using a paid hosting on Plesk, and the server is refusing to connect: it give s me the following error from the Plesk CLI when I try to run the server: