{"id":13,"hash":"578d51374282d22fe5ec0a52d9c4a2c85b9ec9fce4850b77a300b5ffdef544f8","pattern":"Error: P1001: Can't reach database server","full_message":"PrismaClientInitializationError: P1001: Can't reach database server at `localhost`:`5432`","ecosystem":"npm","package_name":"prisma","package_version":null,"solution":"Prisma cannot open a TCP connection.\n1. `systemctl status postgresql` — is the server running?\n2. Check DATABASE_URL host/port — inside Docker use the service name, not `localhost`.\n3. Check `listen_addresses` in postgresql.conf and `pg_hba.conf` for host entries.\n4. Firewall / security group on port 5432.","confidence":0.92,"source":"official-docs","source_url":"https://www.prisma.io/docs/orm/reference/error-reference#p1001","votes":28,"created_at":"2026-04-19T03:24:36.997436+00:00","updated_at":"2026-04-19T03:25:24.785400+00:00"}