Yes, the server is running on port 5432.
The server is setup using self-signed certificate. Any option for sslmode but disabled returns that error. Allow,
prefer,require, etc...
The servers hba_pg.conf is set up like so:
# "local" is for Unix domain socket connections only
local all all md5
# IPv4 local connections:
host all all 127.0.0.1/32 md5
# IPv6 local connections:
#host all all ::1/128 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local replication dbmsowner md5
#host replication dbmsowner 127.0.0.1/32 md5
#host replication dbmsowner ::1/128 md5
#
host all all all md5
hostssl all all ::1/128 trust