1

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,

BME
  • 53
  • 1
  • 3

1 Answers1

3

Use "" as the host:

s = SimpleXMLRPCServer.SimpleXMLRPCServer(("", 8000))
Thomas Wouters
  • 130,178
  • 23
  • 148
  • 122
  • You see, I would have spent hours trying to figure this out, or coming up with a a harder way to go about it. I thank you sir. – BME Jan 20 '10 at 00:20