Unexpected exception SQLException/ConnectException: SQL error when doing 'Taking a connection from the data source'
Connection to 127.0.0.1:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. (after 10 attempt(s); total time spent waiting 692.909 ms; driver version 42.3; java.version=1.8.0_131; jdk.tls.client.protocols=; jdk.certpath.disabledAlgorithms=[MD2, MD5, RSA keySize < 1024, DSA keySize < 1024, EC keySize < 224]; jdk.tls.disabledAlgorithms=[SSLv3, RC4, MD5withRSA, DH keySize < 768, EC keySize < 224]) I am using Teamcity 2017.1.3 and gcloud postgres database. I have raised couple of questions before and all left unanswered. Please respond to this.