Closed BackWorld closed 9 months ago
Just created the demo project with the default template under vapor-cli, without anything changes!
@BackWorld how are you running the database?
@0xTim Yeah! I just forgot that I wasn't running the DB with Docker. 👍 :)-
Versions
Describe the bug
[ ERROR ] Opening new connection for pool failed: PSQLError(code: connectionError, underlying: NIOPosix.NIOConnectionError(host: "127.0.0.1", port: 5432, dnsAError: nil, dnsAAAAError: nil, connectionErrors: [NIOPosix.SingleConnectionFailure(target: [IPv4]127.0.0.1/127.0.0.1:5432, error: connection reset (error set): Connection refused (errno: 61))])) [database-id: psql]
[ WARNING ] PSQLError(code: connectionError, underlying: NIOPosix.NIOConnectionError(host: "127.0.0.1", port: 5432, dnsAError: nil, dnsAAAAError: nil, connectionErrors: [NIOPosix.SingleConnectionFailure(target: [IPv4]127.0.0.1/127.0.0.1:5432, error: connection reset (error set): Connection refused (errno: 61))]))
Swift/ErrorType.swift:200: Fatal error: Error raised at top level: PSQLError(code: connectionError, underlying: NIOPosix.NIOConnectionError(host: "127.0.0.1", port: 5432, dnsAError: nil, dnsAAAAError: nil, connectionErrors: [NIOPosix.SingleConnectionFailure(target: [IPv4]127.0.0.1/127.0.0.1:5432, error: connection reset (error set): Connection refused (errno: 61))]))
To Reproduce
Demo project source codes