Odoo Help

Welcome!

This community 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.

1

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

By
Silviaa
on 10/24/13, 10:47 AM 13,984 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 .

5

Brett Lehrer

--Brett Lehrer--
1252
| 5 4 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:

#!/bin/bash
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069
iptables-save

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.

Silviaa
on 10/25/13, 4:02 AM

xmlrpc_port works for odoo 8 as well.

Eric Mugo
on 11/27/14, 3:34 AM
0
Madura
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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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