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
Odoo Training Center
|Asked: 12/16/14, 8:01 AM|
|Seen: 1492 times|
|Last updated: 3/16/15, 8:10 AM|