Kristoffer
Kristoffer
RRailway
Created by Kristoffer on 12/3/2023 in #✋|help
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?
3 replies