标签: IPv6
3 个内容
笔记(3)
**问题**:Prisma 无法连接 WSL 中 PostgreSQL,因 `localhost` 解析为 IPv6,而仅 `127.0.0.1` 转发至 WSL。 **方案**:用 WSL IP 替换(如 `172.25.x.x:5432`),Windows CMD 测试 `Test-NetConnection -ComputerName <IP> -Port 5432`,排查防火墙/Postgres 配置或连接字符串问题。(128 字符)
Elliot Yang·
83 浏览