There are quite some options for this. You can provide the --xmrpc-port parameter in your command or the -c /etc/yourconfigfile.conf or use Apache/NginX to redirect the port.
For example with xmlrpc_port:
For example with the -c parameter:
./openerp-server -c /etc/yourOdooConfigFile.conf
The -c parameter will call the configuration file which needs to contain the Odoo port.So in the file you should have this:
xmlrpc_port = 8080
Another option is to change the Python code but I wouldn't advise this.
Under /openerp/tools/config.py you can provide the Odoo port. In the file is a line like this:
group.add_option("--xmlrpc-port", dest="xmlrpc_port", my_default=8069,
You can change this to the port you wish.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 9/10/15, 5:29 AM|
|Seen: 549 times|
|Last updated: 9/10/15, 6:44 AM|