Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem after IP address changed

Tim Hogan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 16, 2015

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
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2015

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.

 

Tim Hogan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 16, 2015

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

Alex Ignatov October 17, 2017

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.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2017

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.

Alex Ignatov October 18, 2017

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
TAGS
AUG Leaders

Atlassian Community Events