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

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
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...

1,783 views 25 10
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