Skip to content
Back to the playbook

Diagnosing Prisma P1001 (can't reach database server)

Prismarevision 1

Diagnostic tree

  1. In progressP1001: can't reach database server at a specific host:portThe string parsed fine — Prisma is telling you exactly which host and port it tried and failed to reach.
View the whole map (6 more steps)
  • Can you reach that exact host and port from the same environment?
  • Network path is open — Postgres itself is refusing or dropping it
  • The network path itself is blocked or misconfigured
  • Fix reachability at its actual layer
  • Retry the same reachability check
  • Resolved

What to test

P1001: can't reach database server at a specific host:port

The string parsed fine — Prisma is telling you exactly which host and port it tried and failed to reach.

What happened?