Is there an easy wasy to change the IP address of JDBC connection in Confluence?

We are running Confluence with an MS SQL server which is located on another service. IT is changing the IP addresses in the network so the connection need the new IP address?

Is there an easy way to fix this? I can only find docs that tells me to run the wizard, but things are already set up. In JIRA I just had to update dbconfig.xml and restart. Couldn't find that file in Confluence?

3 answers

1 accepted

Hi Eirik,

The configuration of your JDBC connection is stored in <Conf_HOME_Dir>/confluence.cfg.xml. It should be in hibernate.connection.url parameter name. Restart is necessary.

Hope it helps.

Cheers,
Septa Cahyadiputra

Thanks, I'll try that.

0 vote

I was going to point you at the config file, but it's moved between versions. Which version of Confluence are you on? (It's similar to dbconfig.xml in Jira, but depends on the version).

(In the long run, I'd also mutter about using names instead of IP addresses, but that's not really the short-term answer you need)

I'm running v4.1.7. Planning an upgrade to 4.3.

You cannot change the ip address, if you are using static ip address.If it is dynamic ip address, you can change it easily by resetting the modem or switching it off and on.you can also use Proxy server or Hide ip address software to change the ip address.

To check the ip address before and after changing, Visit the http://www.ip-details.com . Here you can search IP,domain host and it also includes city, country, global latitude & longitude coordinates etc.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,856 views 27 11
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