Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket refusing connections

Message displayed is:


The database, as currently configured, is not accessible.
Connection to refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.


Hostname is correct and I have checked the port 5432 which is open and listening for Postmaster for Postgres. Postgres is accessible via psql on the server. This is running on CentOS 6.10. Any thoughts would be appreciated. 

1 answer

1 accepted

0 votes
Answer accepted

Hi Chuck,

How and where did you verify whether you can connect to Postgres?

I'd run telnet 5432 on the machine where Bitbucket Server is installed to check.



Premier Support Engineer



Thanks for the suggestion. When I try to telnet from a jump box to that port I get a timeout on telnet. If I ssh to the server I am able to connect to Postgresql as the postgres user with psql. Running a ps aux I see confluence and jira processes running but no bitbucket. any other thoughts would be helpful.



An update that is a bit alarming. We rebooted the server and everything came up correctly with no changes. We are running Bitbucket 5.10.1. I know we need to upgrade but has anyone ever encountered Bitbucket just halting like this with the database up and the ports open?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,869 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you