how to configure Business Automation API to listen on all interfaces
Modified on: Fri, 17 Nov 2023 12:07 PM2020-01-22
Problem
I'm trying to connect to Business Automation API on my APS sandbox, which IP should be used?
Resolution
By default Business Automation API listens on 172.x.x.x IP address however it is possible to make it listen on all IPs:
Copy the sample .xmlrpcd.conf to xmlrpcd.conf in Business Automation configs folder:
[root@pba ~]# cp /usr/local/bm/etc/ssm.conf.d/.xmlrpcd.conf /usr/local/bm/etc/ssm.conf.d/xmlrpcd.conf
In xmlrpcd.conf
change arguments = $(HOST_IP):$(XMLRPCD_PORT)
to arguments = 0.0.0.0:$(XMLRPCD_PORT)
. This will allow connection from any IP (and therefore it should never be configured that way in production, it is a huge security hole).
Restart the xmlrpcd to apply the changes:
[root@pba ~]# /etc/init.d/xmlrpcd restart