P1001: Can't reach database server at api.mydomain.com:5432
Been debugging this for hours, nothing works - I'm using the exact same connection string via Psql and it works, I've double check encoding, open port, password, dns resolution, everything
4 Replies
You chose to debug with a human. They'll tinker with your query soon. If you get curious meanwhile, hop into
#ask-ai
for a quick spin!WOW, prisma is ridiculous, the ONLY way i could get it to work was to
socat TCP4-LISTEN:5432,reuseaddr,fork TCP4:api.domain.com:5432
Prisma team please fix this asap, cant even connect to the db using your orm, might as well drop itHey!
Did this happen on latest prisma version 6.6.0?
Which database are you using?
im on 6.6.0
@Nurul postgres
this is still happening, its very dissapointing as ive migrated my old setup to prisma and now when i try to connect to my production instance i literally cannot do so
trying via direct ip also does not work