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

can not open http://xx.x.x.xx:7990/ when restart the server

A fatal error has occurred

The following problem occurred, which prevents Atlassian Bitbucket from starting:

  • The database, as currently configured, is not accessible.
    FATAL: no pg_hba.conf entry for host "", user "bitbucketuser", database "bitbucket", SSL on


I install bitbucket by and the database used is postgresql. bitbucket server connects with postgresql well until I restart the server and use the command docker + start + ID to start the bitbucket container,I cannot access to the address http://xx.x.x.xx:7990 and the error is as above.  I have added to no pg_hba.conf and restart postgresql. 

1 answer

0 votes

You need to add the correct line for the ip address into the pg_hba.conf file.

You say you have added it, but the error message is saying that you have not, so there must be something wrong with what you have added.  Either it's looking at a different file, or the lines you have added are wrong.

Thanks for your reply. The following are ip addresses I added, can you help me check what's wrong with them?


local all all peer
# IPv4 local connections:
#host all all trust
host all all md5
host all all md5
host all all md5
host all all md5
#host all all localhost trust
# IPv6 local connections:
host all all ::1/128 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
local replication all peer
host replication all md5
host replication all ::1/128 md5

Thanks for your help, when I close the bitbucket (docker stop bitbucket) and reopen it, everything looks fine now.

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,782 views 10 16
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