- Odoo 11 Development Essentials(Third Edition)
- Daniel Reis
- 134字
- 2021-08-27 19:32:39
Changing the listening port
The --http-port=<port> command option (or just -p <port>) allows us to change the listening port of a server instance from the default 8069. This can be used to run more than one instance at the same time, on the same machine.
The --http-port server option was introduced in Odoo 11.0 and replaces the old --xmlrpc-port option, used in previous versions.
Let's try this out. Open two terminal windows. On the first, run this:
$ ~/odoo-dev/odoo/odoo-bin --http-port=8070
Run the following command on the second terminal:
$ ~/odoo-dev/odoo/odoo-bin --http-port=8071
There you go, two Odoo instances on the same server listening on different ports! The two instances can use the same or different databases, depending on the configuration parameters used. And the two could be running the same or different versions of Odoo.
推薦閱讀
- 和秋葉一起學:秒懂Excel(全彩版)
- Word/Excel/PPT/PS/移動辦公Office 5合1無師自通
- Android網上班級管理實例:“我的班班”APP平臺建設
- Excel 2007數據處理與分析范例應用
- Word/Excel 2010辦公應用從入門到精通
- 和秋葉一起學:秒懂WPS演示文稿
- Word-Excel-PowerPoint 2007三合一辦公應用實戰從入門到精通(超值版)
- Word/Excel/PowerPoint三合一辦公應用
- Java EE 8 Cookbook
- 辦公自動化精品教程
- 金融精英Word實操手冊:世界知名公司這樣制作研究報告
- Word/Excel 2010高效辦公:文秘與行政辦公
- WOW!電腦辦公可以這樣簡單
- 極簡辦公:職場Word基礎課
- DPDK應用基礎