can SimpleXMLRPCServer listen on multiple addresses?
-
21-09-2019 - |
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,
Solution
Use "" as the host:
s = SimpleXMLRPCServer.SimpleXMLRPCServer(("", 8000))
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow