user_5888677
user_5888677

Reputation: 85

What is difference between xmlrc_port and http_port parameter in Odoo configuration file?

What is the difference between xmlrc_port and http_port parameter which are used in Odoo configuration file.

Upvotes: 4

Views: 1088

Answers (1)

Veikko
Veikko

Reputation: 3620

None. Odoo 12 only uses http_port.

http_port was introduced in the version 11, prior to that, the parameter was xmlrc_port.

So, you should use

  • http_port for Odoo >= 11
  • xmlrc_port for Odoo < 11

In Odoo 12, xmlrc_port is kept for backward compatibility, see the mapping from xmlrc-port to http_port in the source code: https://github.com/odoo/odoo/blob/13.0/odoo/tools/config.py, line 147:

group.add_option("--xmlrpc-port", dest="http_port", type="int", help=hidden)

You can find the documentation

Upvotes: 6

Related Questions