Hi Matt,
According to your log file, it states that it can't connect to the PostgreSQL server address:
Caused by: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:247)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
at org.postgresql.Driver.makeConnection(Driver.java:452)
at org.postgresql.Driver.connect(Driver.java:254)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at org.labkey.api.data.DbScope.ensureDataBase(DbScope.java:1134)
... 20 more
Please make sure that your firewall allows connections to port 5432 and also make sure your hb_pga.conf file is configured to accept connections, then restart the PostgreSQL service. This is a pretty handy guide that goes over how to configure PostgreSQL to allow remote connections that should help as well:
https://community.jaspersoft.com/blog/configure-postgresql-remote-connections
Regards,
Jon