I'm deploying it on Vercel right now and using their Neon Postgres integration for the database. It's failing to build successfully at the moment because the URL + port combination is apparently wrong.
But I haven't set the port number anywhere. It's using the default port number 5432 and I don't know how to change it.
I have this error in the Vercel deployment build messages:
Prisma schema loaded from prisma/schema.prisma.Datasource "db": PostgreSQL database "neondb", schema "public" at "ep-empty-brook-a4m1s751-pooler.us-east-1.aws.neon.tech"Error: P1001: Can't reach database server at `ep-empty-brook-a4m1s751-pooler.us-east-1.aws.neon.tech:5432`Please make sure your database server is running at `ep-empty-brook-a4m1s751-pooler.us-east-1.aws.neon.tech:5432`.Error: Command "npm run build" exited with 1
Prisma schema loaded from prisma/schema.prisma.Datasource "db": PostgreSQL database "neondb", schema "public" at "ep-empty-brook-a4m1s751-pooler.us-east-1.aws.neon.tech"Error: P1001: Can't reach database server at `ep-empty-brook-a4m1s751-pooler.us-east-1.aws.neon.tech:5432`Please make sure your database server is running at `ep-empty-brook-a4m1s751-pooler.us-east-1.aws.neon.tech:5432`.Error: Command "npm run build" exited with 1
The connection string itself seems to be fine. If I'm missing any info I need to share, please let me know so I can share it. Any help is appreciated. Thanks.