Forums

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

The database, as currently configured, is not accessible. The connection attempt failed.

kashyapgada June 6, 2018

Dear All.

 

I am facing the the issue of The database, as currently configured, is not accessible.
The connection attempt failed.

 

Following is my Log.

Server Log atlassian-bitbucket.log

 

2 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
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.
June 6, 2018

"connect timed out" is the smoking gun - it cannot connect to the database over your network, or the database is not running, or it has been configured to not allow the connection from your Bitbucket server.

Check that the database is reachable with psql on the bitbucket server - that should give you more detail on the exact error.

kashyapgada June 6, 2018

Thanks for your reply. Will try out.

0 votes
kashyapgada June 6, 2018

I had recently changed my router which changed my local ip address.

Settings in Bitbucket to connect to my database had old ip in C:\Atlassian\ApplicationData\Bitbucket\shared\bitbucket.properties file

I changed the ip to localhost and connection and server both were working normally.

 

Thanks to Nic for quick support.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events