Changing the server listening ip address

How to configure a server to listen on a specific ip address?

2 answers

1 accepted

Bitbucket 5.0 or newer, set it in bitbucket.properties:

server.address=192.168.10.10

Bitbucket 4.0 or newer, set it in server.xml:

<Connector 
    port="8080" 
    protocol="HTTP/1.1" 
    address="192.168.10.10"

 For more information:

Migrate server.xml customizations to bitbucket.properties (confluence.atlassian.com).

Under "Migration reference table" click on the "Show me the table..." link and then scroll (all the way!) to the right in the table.

 

And don't forget to try my add-on!  ;-)   Bit-Booster - Rebase / Squash 

0 vote

Do you mean your server has several IP addresses it is bound to and you only want the system to listen on one of them?  (I would reach for a firewall over application config for that)

Yes, my server has several IP addresses and I want to bound bitbucket to listen on one of them.

I don't believe Bitbucket has a setting to allow you to do that on the server side.  You will need to set up a firewall on that machine that blocks access over the IP addresses you don't want to have it available on.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,906 views 26 12
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you