hi,
I want to know if i can change the port openerp once already installed, because i did default intallation whit the port 8069 and now i want change it.
How I can do it?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
hi,
I want to know if i can change the port openerp once already installed, because i did default intallation whit the port 8069 and now i want change it.
How I can do it?
Run the server as below
python openerp-server --xmlrpc-port=your_port_number
or we can create separate config file and mention the port number.
or change in openerp/tools.config.py
group.add_option("-p", "--http-port", dest="http_port", my_default=8069,
help="Listen port for the main HTTP service", type="int", metavar="PORT")
Changing the default configuration at source code level is a bad practice I think, responding to your second option.
Yes. You are right. We can also create separate config file and run.
python openerp-server --config=config_file.conf
check your config file it's available under /etc folder (ubuntu)
You need to set it on the openerp-server.conf file.
Start OpenERP with --xmlrpc-port flag (e.g. python openerp-server --xmlrpc-port 8888 ....)
Or start OpenERP with config file (e.g. python openerp-server -c /path/to/openerp/confi/file ....) and put xmlrpc_port entry into the config file (e.g. xmlrpc_port = 8888).
If both are specified, the one in command line will prevail.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
Try refer following
https://www.odoo.com/sl_SI/forum/help-1/how-to-change-default-odoo-port-8069-116185