Confluence does not start

Our Confluence instance used our Jira user database for authentication. After chaning IP address for the Jira server Confluence refuses to start. How do we change Jira's IP in Confluence via command line? NOTE: Jira is up and running.

1 answer

This widget could not be displayed.

Hi Suresh,

It may not be the IP change that is causing Confluence to start but you can begin by attempting to recover admin rights via your Internal Directory in Confluence:

Once you are logged in with that user, you can go to your User Directory settings and update the connection with Jira to use the correct IP address.

Kind regards,


Hi Shannon,

Thx for the reply. We tried to follow your instructions and Confluence starts but the recovery password does not work. It seems it still tries to use Jira to authenticate. Please find the logs below:

Caused by: org.apache.http.conn.HttpHostConnectException: Connect to [/] failed: Network is unreachable (connect failed)

                at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(

                at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(

                at org.apache.http.impl.execchain.MainClientExec.establishRoute(

                at org.apache.http.impl.execchain.MainClientExec.execute(

                at org.apache.http.impl.client.cache.CachingExec.callBackend(

                at org.apache.http.impl.client.cache.CachingExec.execute(

                at org.apache.http.impl.execchain.ProtocolExec.execute(

                at org.apache.http.impl.execchain.RetryExec.execute(

                at org.apache.http.impl.execchain.RedirectExec.execute(

                at org.apache.http.impl.client.InternalHttpClient.doExecute(

                at org.apache.http.impl.client.CloseableHttpClient.execute(








                at com.atlassian.crowd.manager.application.ApplicationServiceGeneric.authenticateUser(

                at com.atlassian.crowd.embedded.core.CrowdServiceImpl.authenticate(

                ... 188 more

Caused by: Network is unreachable (connect failed)

                at Method)






                at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(

                at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(

                ... 207 more

The first line of the log tells you that the network can't be reached.  That's a problem with your network, not Confluence or Jira.  You'll need to get the routing and/or network fixed on that machine.

Hi Suresh,

In addition to what Nic said, the article I sent you earlier in Step 3 asks you to set the Internal Directory to First position, so it shouldn't still be trying with Jira. In addition, I would recommend setting Jira to inactive, so:

update cwd_directory set active = 'F' where id = <Jira Directory id>;

Please give that a try and let us know how it goes.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

582 views 7 6
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