Changing port numbers

By default, Odoo runs on port 8069. For many installations, the default port will work fine. There are situations, however, where it can be useful to change this default port. One common scenario would be the need to run more than one version of Odoo. Multiple installations cannot run on port 8069, so you will need to modify the port. Sometimes, there are security reasons behind changing ports as many hackers are aware of the default ports people use.

Fortunately, changing the default port number is easy.

Simply specify the following:

Port=[port]  

For example, Port=8059 will change the default port for the web client to port 8059.

Get Working with Odoo 11 - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.