The following problem occurred, which prevents Atlassian Bitbucket from starting:
I install bitbucket by https://hub.docker.com/r/atlassian/bitbucket-server/ 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 172.17.0.3 to no pg_hba.conf and restart postgresql.
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 10.1.6.26/32 trust
host all all 127.0.0.1/32 md5
host all all 10.1.6.26/32 md5
host all all 172.17.0.2/32 md5
host all all 172.17.0.3/32 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 127.0.0.1/32 md5
host replication all ::1/128 md5
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...
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