Skip to Content
Menú
This question has been flagged
1 Respondre
25860 Vistes

Hello,

I have two pc in my LAN. In one pc I have to install odoo. the IP of the first pc is 192.168.0.21. From pc two I want to access odoo. For that in pc two browser, I am using the IP address of pc one with odoo port. But not accessible, then also inactive firewall still odoo is not accessible. 

Avatar
Descartar
Best Answer

You should access Odoo with the adress 192.168.0.21:8069

If it doesn't work, check 

  • the IP adress of the first PC

  • the firewall on the fist PC

  • that Odoo is started

  • the odoo.conf content

If is still doesn't work, please give details about your PC and your config : OS, version, etc.


Avatar
Descartar
Autor

The IP address of the first pc:192.168.0.21

The firewall on the first pc is: inactive state(after making firewall active state still the same problem).

odoo.conf:

[options]

; This is the password that allows database operations:

admin_passwd = admin

db_host = False

db_port = False

db_user = odoo12

db_password = odoo12

xmlrpc_port = 8079

;logfile = /var/log/odoo12/odoo12.log

addons_path = /usr/local/sampada/survey-workspace/span/addons,/usr/local/sampada/survey-workspace/span/custom

OS: Ubuntu 18.04

Obviously if you change the default Odoo port, you need to change how you access Odoo. Try 192.168.0.21:8079

Did you checked that Odoo is started and running ? did you checked for errors in Odoo server log (usualy located in /var/log/odoo/odoo-server.log) ? What is your browser error message ?

Autor

I am accessing odoo with change port the same as you mention in your answer. Odoo is started in my localhost without error. After accessing from other pc odoo didn't get any error. In browser shows, error message as "This site can’t be reached".

So this doesn't look like an Odoo problem. Check that you can access Odoo from the first PC (where you did install it), to be sure.

This error message came from Chrome and is related to network problem. What OS are your using ?

Check that you can see the first PC on your LAN from the second PC. If positive, check that you can connect (telnet, SSH, ftp, smb, whatever...) to the first PC. If positive, you probably have a firewall rule that deny access or another network restriction.

Autor

I have installed odoo in the first pc. On the first pc, odoo is working fine without any error. I have also checked the first PC on my LAN from the second pc. First and second pcs both are in LAN. Also, I am able to connect the first pc through ssh. My firewall is in an inactive state. If there is a firewall rule problem how to check? I am using Ubuntu 18.04.3 LTS (Bionic Beaver) os.

If you can access Odoo from the first PC (with http://localhost:8079 AND http://192.168.0.21:8079) I can't help you. Try another browser on the second PC. May be Chrome has a security rule like accepting only SSL connections (https) ?

Autor

Thanks, @Xavier for your valuable time and suggestion. I have solved this problem.

How did you solve it ? if you explain, it will help others

Autor

In my case, the problem is about the SSH key. The SSH key of second pc isn't matching. For this, I have generated a new SSH key for the second pc.

Related Posts Respostes Vistes Activitat
3
de nov. 23
17515
3
de nov. 24
25152
1
d’abr. 23
6200
2
de des. 22
6956
1
de nov. 22
4090