Here Is my Problem: I Have a Data Science Virtual Machine for Linux (Ubuntu) which going to host my Docker Container. Inside of this container I have a Python script running. I want my C# Client in Azure Cloud integrate with this container. When it request via XMLRPC to call a function of this script via ubuntu ip, my host machine should redirect the ip address to the ip:port/
of the container.
Idk how to do this ip redirecting (or maybe is called forwarding/routing?).
The easiest solution I found in the internet was XMLRPC.
Is anyone able to help me with this also is there any better way instead of XMLRPC or JSONRPC?
this is my client part:
[XmlRpcUrl("http://@UbuntuIP:666/ContainerIP:8000/RPC2")]
public interface ICallServer:IXmlRpcProxy
{
[XmlRpcMethod]
string result(string storageAccountName, string containerName,string imageName);
}
ICallServer icallServerTest = XmlRpcProxyGen.Create<ICallServer>();
var output = icallServerTest.func(params);