Fix MongoDB Website Connection

Job ID: 39804378

Budget: ₹600 – ₹1,500 INR

My website is running on an Ubuntu server but any attempt to write data fails because the application can’t reach MongoDB. The request simply hangs—there’s no explicit “connection refused” or “access denied” message to guide me. I’m currently logging into the box as root and starting MongoDB from there, so no dedicated database user or other authentication method is in place yet.

I need someone who can jump in over SSH, trace the connection path, and correct whatever is blocking or mis-configuring the service—whether that turns out to be mongod.conf bind settings, a missing listening port, ufw/iptables rules, or a flawed connection string inside the app. Once you’re done I should be able to load any page that writes to the database and watch the record appear immediately in the collection.

Deliverable: MongoDB reachable from the website and data persisting as expected (I’ll confirm by saving a test record after your fix).