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 wi开发者_如何学Pythonth Apache.
Thank you,
Use "" as the host:
s = SimpleXMLRPCServer.SimpleXMLRPCServer(("", 8000))
精彩评论