Problem after IP address changed

I had to change the IP address of my Confluence server. Now I have a problem logging into the site.

It appears that the login page page is redirecting back to the old IP address and appending the following query string: "/login.action?os_destination=%2Findex.action&permissionViolation=true"

Can I manually change the default / base URL?

Thanks for any guidance.

1 answer

1 accepted

1 vote
Answer accepted

Check if you have proxyName and proxyPort set on the server.xml. BaseUrl wouldn't redirect the login page.

Redirection is happening from tomcat or from apache or a load balancer.


Thank you. The server.xml needed to be updated to the new address.

I have run into a similar problem: restored Confluence using SQL dumps + home folder backup on another physical node that has different IP&hostname. Now I can not login with the following error: "Sorry, a network error occurred trying to log you in."

I checked the server.xml file and the address parameter is just not there... Has something changed since 2015? We are using Confluence 6.4.0.

Yes, quite a lot.  But if you've moved 6.4 to 6.4, then it should be working.

The error probably means your new server cannot reach whatever you are using for the user directory.

The application log will contain the actual error you need to see.

Well, it turns out that I had to login as Confluence admin only and then it offered me to re-configure the server Base URL due to IP change. It worked. However I couldn't figure where this parameter is saved in the configuration files if had to do it manually.

I also goofed up with DNS settings on the new server so it is very likely that the other account (not admin) I was trying to use originally was failing to authenticate, cause LDAP server was set using a domain name in Confluence.

In any case, thank you for you reply Nic!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

193 views 2 10
Read article

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