Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
How can i get IP Address in python file to restrict that ip who using XML-RPC Call.
I have two server both installed openerp and i want to restrict second server's ip in first server for not use an XML-RPC how can i do?
Thanks in advance.
Just bind the xml-rpc interface to localhost, 127.0.0.1 for ipv4. In openerp configuration:
xmlrpc_interface = 127.0.0.1
With that configuration the server will only accept request from localhost, i.e. the same machine with the server. I assume you want your second server 'hidden' from the internet.
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/16/14, 8:01 AM|
|Seen: 1291 times|
|Last updated: 3/16/15, 8:10 AM|