Odoo Help


How to change LISTENER of ODOO

Vale Trood
on 9/10/15, 5:29 AM 951 views


I want to change the listener 8069 of ODOO to 8070.

where can i find the file responsable of defining the listener please.

Is here any suggestion!!

Thanks a lot in advance.




| 8 8 8

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

On 9/10/15, 5:37 AM

Hi Drees,

There are quite some options for this. You can provide the --xmrpc-port parameter in your command or the -c /etc/yourconfigfile.conf or use Apache/NginX to redirect the port.
For example with xmlrpc_port:

./openerp-server --xmlrpc-port=8080

For example with the -c parameter:

./openerp-server -c /etc/yourOdooConfigFile.conf

The -c parameter will call the configuration file which needs to contain the Odoo port.So in the file you should have this:

xmlrpc_port = 8080

Another option is to change the Python code but I wouldn't advise this.
Under /openerp/tools/config.py you can provide the Odoo port. In the file is a line like this:

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

You can change this to the port you wish.



Vale Trood

--Vale Trood--

| 5 2 7
Tunis, France
--Vale Trood--

Vale Trood
On 9/10/15, 5:32 AM

Find it easily :)

in the openerp_server.log

I have added xmlrpc-port=8070 option in my opener_server.conf and its working well.


@Drees check out my answer with all options. Of all the options you have this is probably the worst. This is not future/upgrade proof if you ever update your Odoo code. And its not clean since you're editing original source code files from Odoo.

on 9/10/15, 5:38 AM

Sorry, but why did you put -1 to my answer and -1 to my question????

Vale Trood
on 9/10/15, 5:52 AM

Here is from wher i have got the answer: https://www.odoo.com/fr_FR/forum/help-1/question/how-to-change-the-default-port-8069-used-by-odoo-server-60679 and it functions very well so why ??

Vale Trood
on 9/10/15, 5:54 AM

@Drees I didn't, somebody else did. To the person who downvotes this question and his answer: why? This was a valid question. @Drees I'll upvote it so it puts you at 0 again atleast. I can't do more.

on 9/10/15, 5:55 AM

No, i have asked you because i have found an answer which wans upvoted 3 times. I am so sorry my friend

Vale Trood
on 9/10/15, 5:56 AM

pleased to talk to you @Yenth :)

Vale Trood
on 9/10/15, 5:58 AM

Thanks Drees, great to hear! :) Hope this showed you some more insight about the xml-rpc port!

on 9/10/15, 7:49 AM

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

1 follower(s)


Asked: 9/10/15, 5:29 AM
Seen: 951 times
Last updated: 9/10/15, 6:44 AM