R
Railway4mo ago
Marsen

Erorr Mongo

Hello. why am I getting this problem when I submit my project where mongoDB is used. When I run locally it works without problems
No description
10 Replies
Percy
Percy4mo ago
Project ID: N/A
Marsen
Marsen4mo ago
N/A help pls
maddsua
maddsua4mo ago
from those horrific log messages I'd speculate that the app is unable to connect to a database and just times out could you give more info like where the db is located, etc?
Marsen
Marsen4mo ago
sorry for the debt, I ignored you, for some reason I didn’t see your message the database was created on MongoDB, when running locally it works fine
Marsen
Marsen4mo ago
my code with connection to the database
No description
Brody
Brody4mo ago
have you whitelisted all IP addresses in atlas
Marsen
Marsen4mo ago
how to find out what IP Railway has?
Brody
Brody4mo ago
that's not applicable, railway does not have static IP's, you need to whitelist everything with 0.0.0.0/0
Marsen
Marsen4mo ago
How can I do it?
Brody
Brody4mo ago
you'd do that in mongo atlas