Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

bitbucket conenct with postgresql error

laknath July 23, 2019

getting below error while connect to the PostgreSQL server. 

 

at java.net.Socket.connect(Socket.java:589)
at org.postgresql.core.PGStream.<init>(PGStream.java:70)
at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:91)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:192)
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:454)
at org.postgresql.Driver.access$100(Driver.java:57)
at org.postgresql.Driver$ConnectThread.run(Driver.java:364)
at java.lang.Thread.run(Thread.java:748)
^C

1 answer

0 votes
Petr Vaníček
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 23, 2019

Hi,

that's not full part of log with error. But from those few lines it looks like you can't access to PSQL port.

Look at pg_hba.conf if it's local DBMS or in firewall if DBMS is running on another server.

laknath July 23, 2019

database and the bitbucket runs on the same server

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events