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
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 Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

805 views 23 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