PrismaP
Prisma9mo ago
4 replies
Levan Parastashvili

Error: P1001Can't reach database server at `mydomain:5432

1. The psql connection works fine (both pooled and direct)
2. Prisma db pull works with DEBUG=prisma:* but fails normally

I have this problem from my local machine only. it works from server.

DIRECT_URL="postgresql://user:password@ep-cool-frost-a2lavfqb.eu-central-1.aws.neon.tech/neondb?sslmode=require"

DATABASE_URL="postgresql://user:password@ep-cool-frost-a2lavfqb-pooler.eu-central-1.aws.neon.tech/neondb?sslmode=require&connect_timeout=15&connection_limit=20&pool_timeout=15"
Screenshot_2025-05-15_at_10.25.41.png
Was this page helpful?