MongoDB database not connecting to project

Hi. I have a project using Socket.io and MongoDB and I am trying to connect to my MongoDB database in the app. On localhost, the app is connecting and adding data to the DB, however when I deploy the app to Railway then I don't see any message that MongoDB is connected in the deploy log. I am using environment variables for the MongoDB url. Any ideas?
2 Replies
Percy
Percy12mo ago
Project ID: efdd5dc0-d151-4e40-89d7-5e8b837819b7
Kristoffer
KristofferOP12mo ago
efdd5dc0-d151-4e40-89d7-5e8b837819b7
Want results from more Discord servers?
Add your server