4

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

β.εηοιτ.βε
  • 33,893
  • 13
  • 69
  • 83
user_5888677
  • 85
  • 1
  • 10

1 Answers1

6

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

β.εηοιτ.βε
  • 33,893
  • 13
  • 69
  • 83
Veikko
  • 3,372
  • 2
  • 21
  • 31