Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
5 Risposte
6575 Visualizzazioni

Hello,


how can I change to port to 80? I don´t want to use iptable or another forwarding.

When I set in the /etc/odoo/odoo.conf:
xmlrpc_port = 80

And set in config.py the Port to 80 at:
* * : group.add_option("--xmlrpc-port", dest="xmlrpc_port", my_default=8069, help="specify the TCP port for the XML-RPC protocol", type="int")

then odoo write in the log file:

2018-06-27 07:21:29,074 6305 INFO ? odoo.service.server: HTTP service (werkzeug) running on 0.0.0.0:80

But from now, the server is not reachable with the IP:80

Chrome write "192.168.0.202 has the connection deny"


Did I have to set somewhere else port 80?


Thank you!


Avatar
Abbandona
Risposta migliore

Hi,

Please we can run odoo on port 80 with the help of Nginx reverse proxy server. Please refer the below links. Hope this will help you.

http://www.technaureus.com/how-to-run-odoo-on-port-80/

http://www.technaureus.com/how-to-setup-nginx-for-odoo/

Avatar
Abbandona
Autore Risposta migliore

Hello,


:-)

192.168.0.202:80 and 192.168.0.202 in the browser are the same :-)

ok, will try with nginx

Avatar
Abbandona
Risposta migliore

learn the difference between IP and port! You need to write ip:port in your browser like: 192.168.0.202:80. But use nginx and keep the default port! Iptable is a firewall so you have to use it if you have ports blocked.

Avatar
Abbandona

Port 80 is default http port, you don't have to write ip:80