Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change the odoo default port?

Tags:

odoo

odoo-8

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

like image 300
Maysam AL Avatar asked May 31 '16 10:05

Maysam AL


People also ask

What is default port for Odoo?

By default, Odoo listens on port 8069. Changing the default port number is a good security practice.


1 Answers

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.

Edit

(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).

like image 171
Maysam AL Avatar answered Oct 07 '22 02:10

Maysam AL