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 votes

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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,089 views 17 14
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