In Odoo, by default the port is set to 8069, I want to change it to another port.
I've tried changing in the openerp-server.conf, the value of xmlprc, but even after restating the server, the new port doesn't work
By default, Odoo listens on port 8069. Changing the default port number is a good security practice.
I found the solution in : How to change openerp server default
The location of the file were we can change the default port 8069 is "server/openerp/tools/config.py" file.
I followed the instruction in the link mentioned before, but I still couldn't open Odoo with the new port until I changed the xmlprc_port to the new value in "server/openerp-server.conf". After I restarted the server, it worked fine.
(from comment by @danidee)
you can also change the port on the fly by starting odoo with
odoo.py --xmlrpc-port=8000
(just using 8000 as an example).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With