Automatic replacement of 'localhost' in the place of IP address
In the machine in which kunagi is installed is working fine. When we are accessing from other systems in the same LAN the IP address in URL is replacing to 'localhost' and getting error when creating the new account.
Where to configure , so that IP address remains in all the URL throughout the kunagi application.
Statement from Kunagi Team
You have to login as system admin. Then go to System configuration and set Public URL to the URL which works for all clients.
Status
Issue is closed.
Comments
Wed, May 23, 2012, 06:53 by anonymous
I deployed the application in machine ..holding the IP for example (172.xx.yy.zz)
I opened the kunagi application in other machine which in same LAN network with URL
https://172.xx.yy.zz:8080/kunagi/login.html -- i got the page --it is working fine till now .
When i click on any button..for example "login" button..the URL is changing to
https://localhost:8080/kunagi/# and a "page not displayed" message is coming (Because the IP is changing to localhost when i click on login button).
Could you please help to resolve this issue.
Wed, May 23, 2012, 09:09 by Witek (SM,T)
To solve this, you have to change the Public URL to https://179.xx.yy.zz:8080/kunagi/login.html in Kunagis System configuration. To do this, you have to log in as admin. Since it does not work from a remote computer for you, you have to log in from localhost.
If this is not possible, because it is a server without a browser, you can do as follows: Stop Kunagi (Tomcat). Go to the kunagi data directory kunagi-data/entities/systemConfig
. There should by one XML file which represents Kunagi configuration. Open it with your favorite editor and write your URL into the <url>
-tag.
Wed, May 23, 2012, 10:22 by anonymous
Thank Alot. this will do for me