I want to configure my swift 5.2 vapor 3 fluentpostgresql app to talk to my postgresql on pythonaywhere:
let config2 = PostgreSQLDatabaseConfig(hostname: "magula6-1249.postgres.pythonanywhere-services", port: 11249, username: "super", password="secret")
What am I doing wrong?
I'm able to talk to postgresql on localhost no problem:
let config = PostgreSQLDatabaseConfig(hostname: "localhost", port: 5432, username: "postgres", database: "mydb4", password: nil, transport: .cleartext) // omitted transport: PostgreSQLConnection.TransportConfig.unverifiedTLS)