Odoo Help


How to Change Port 8069 to another port in openERP 6.1 GeoEngine

on 10/24/13, 10:47 AM 16,642 views

Im using CamptoCamp GeoEngine OpenRP 6.1 v

I want to change port 8069 to another port. It seems conf file , what is the procedure and which file i have to change. Is there is any build and Setup procedure like adempiere .


Brett Lehrer

--Brett Lehrer--

| 5 5 8
Milwaukee, United States
--Brett Lehrer--
Director of IT and open source enthusiast.
Brett Lehrer
On 10/24/13, 11:05 AM

When you start the server, pass in the xmlrpc-port manually as a different value, or just edit it in the server conf file.

./openerp-server -c server.conf --xmlrpc-port=9069

# or in your conf file
xmlrpc_port = 9069

If you want to access on port 80 or 443 (SSL) to avoid the port numbers entirely, you may want to take a different approach. Port 80 can be done by leaving OpenERP running at 8069, then adding in an iptables rule to forward traffic from 80 to 8069. This bash script does the trick for me, just make sure you change eth0 if needed:

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069

If you want to run on HTTPS using port 443, I'd recommend a reverse proxy running outside of OpenERP for that. This is a pretty solid guide that I've used to set that up: http://www.vionblog.com/openerp-reverse-proxy-using-nginx-server/

It works, xmlrpc_port = 8085 in openerp.cfg file.

on 10/25/13, 4:02 AM

xmlrpc_port works for odoo 8 as well.

Eric Mugo
on 11/27/14, 3:34 AM
On 7/22/14, 2:58 AM

Go to the /opt/openerp/server/openerp/tools/ and open the "config.py" file and chnage the following line:

group.add_option("--xmlrpc-port", dest="xmlrpc_port", my_default=8069,

Chnage the 8069 port number to port you wish. And then save the file and restart the OpenERP server.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 10/24/13, 10:47 AM
Seen: 16642 times
Last updated: 3/16/15, 8:10 AM