a year ago
my application has errors when using @postgres.railway but not when using @autorack.proxy.rlwy. Some idea?
23 Replies
a year ago
please provide the actual error message
Invalid prisma.user.findUnique() invocation: Can't reach database server at postgres.railway.internal:5432 Please make sure your database server is running at postgres.railway.internal:5432.
a year ago
are these errors you are getting locally or on railway
a year ago
locally or on Railway?
a year ago
locally you need to use the public url
a year ago
then you don't use the public url
a year ago
English only please
a year ago
on vercel you need to use the public url
a year ago
yes it will cost you egress
ahhhhh so if my application was in railway I should use the private url but since I am in vercel I should use the public url. TRUE?
a year ago
correct
a year ago
no problem
a year ago
!s
Status changed to Solved brody • over 1 year ago

