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

This widget could not be displayed.

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

569 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