It is currently Sun Feb 12, 2012 9:53 am

All times are UTC + 2 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: [WEBCLIENT] redirected to localhost despite global IP addr
PostPosted: Wed Feb 24, 2010 12:14 pm 
Offline

Joined: Wed Sep 02, 2009 2:33 pm
Posts: 60
Location: Switzerland
I'm running the openerp-web server on a local network and have set up the IP address to the machine's fixed IP (192.168.0.5).

I can access from other machine via 192.168.0.5:8080
From the welcome page, when I log in: ok.

From the welcome page, when I click on "databases", the URL of the page is directed to http://127.0.0.1:8080/database/ (instead of http://192.168.0.5:8080/database).
This also happens with some operations when I'm connected to a database (e.g. when trying to change user preferences).

I can get back to the target page by replacing the address in the URL but this is not a viable solution.

Am I something missing in the web server setup?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 21, 2010 4:17 pm 
Offline

Joined: Sun Mar 21, 2010 4:10 pm
Posts: 2
same problem on my system
servers open erp on 192.168.1.3:8080
no problem to access the main page on on the LAN but impossible to access to database configuration
default address 127.0.0.1 ..


Last edited by jppjpp on Mon Mar 22, 2010 10:39 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 21, 2010 7:15 pm 
Offline

Joined: Tue Mar 17, 2009 8:07 pm
Posts: 47
Location: Greece
Did you clear your browser's cache?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 22, 2010 8:34 am 
Offline

Joined: Wed Sep 02, 2009 2:33 pm
Posts: 60
Location: Switzerland
Even after clearing the cache I get the same problem.

What I however noticed is a difference in behavior between Firefox and IE 8.0.

First enter the URL http://192.168.0.5:8080

Then click on "logout".

On Firefox the URL becomes : http://127.0.0.1:8080/logout

On IE 8.0 the URL becomes : http://192.168.0.5:8080/logout

In both cases, the browser cannot display the page and the cache has been cleaned before.

In addition, Firefox presents the home page in english, IE in french.

Any idea?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 22, 2010 10:37 am 
Offline

Joined: Sun Mar 21, 2010 4:10 pm
Posts: 2
I have exactly the same problem between Firefox and IE
after clicking on database
IE:
http:\\Local_ip_address:8080/database -> doesn't work..
( no problem replacing by http://local-ip-address:8080/database/create)

Firefox:
http://127.0.0.1:8080/database/ -> doesn't work..
( no problem replacing by http://local-ip-address:8080/database/create)
I didn't try to create database after replacing address

seems to have the same problem after logout too and when saving new data in forms.

ok from the server but with wrong adresses for LAN access..


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 22, 2010 8:59 am 
Offline

Joined: Tue Dec 08, 2009 10:12 pm
Posts: 5
Location: Eckbolsheim Alsace
I just had the same issue with OpenERP 5.0.10 on Ubuntu 10.04 Desktop. I could reach my database from the local desktop (which runs OpenERP server + web server + Apache) but not from a remote desktop (either Ubuntu or Win).
I managed to get a well working configuration in :
- adding the line "local-ip-address (for instance 192.168.0.3) openerpweb.com" to the hosts file of the remote and local desktop
- letting firefox open pop-up windows issued from both local-ip-address and openerpweb.com.

JM

jppjpp wrote:
I have exactly the same problem between Firefox and IE
after clicking on database
IE:
http:\\Local_ip_address:8080/database -> doesn't work..
( no problem replacing by http://local-ip-address:8080/database/create)

Firefox:
http://127.0.0.1:8080/database/ -> doesn't work..
( no problem replacing by http://local-ip-address:8080/database/create)
I didn't try to create database after replacing address

seems to have the same problem after logout too and when saving new data in forms.

ok from the server but with wrong adresses for LAN access..

_________________
InVactis - Innovation active


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP