Question

I have two IPs mapping to the machine, and I was wondering how I can have one python xmlrpc server listening on both IPs (same port), like you could do with Apache.

Thank you,

Was it helpful?

Solution

Use "" as the host:

s = SimpleXMLRPCServer.SimpleXMLRPCServer(("", 8000))
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top