WSO2 API is sending request to 172.17.0.2 which is Dockers internal IP

I am running WSo2 in Docker and am trying to create an API that will hit existing SOAP endpoint. I could create and publish API but noticed that curl is sending request to 172.17.0.2 which i know is my docker container’s ip address
I don’t see any place to configure correct IP address.
Where can i configure IP address to my SOAP service host machine?

I am not able to find any place to configure correct IP for Production and Sandbox environment.

curl -k -X POST “https://172.17.0.2:8243/TestInterface/TestInterfaceService/sendTransaction/v1.0.0/” -H “accept: text/xml” -H “Content-Type: text/xml” -H “Authorization: Bearer fc6c84f2-5e2d-3e9e-bdea-a9cbf142fe82” -d “http://schemas.xmlsoap.org/soap/envelope/” xmlns:tri=”http://www.AAAA.com/BBB/“> ……

Source: StackOverflow