Cannot Connect to Mongodb Database in Ubuntu Digitalocean Server

Yes. I am able to connect mongodb from shell of the vm.
My installation process is:

  • Firstly clone the trudesk repository from https://www.github.com/polonel/trudesk

  • Rename the trudesk folder to my subdomain folder(like support.example.com) where I hosted virtual host and reverse proxy setup.

  • Then, cd my_subdomain_folder and npm install -g yarn

  • yarn command and yarn build command

  • Then node app.js command.

After this process my, server console looks like: