xml-rpc, O'Reilly cookbook example not working???

Meehan, Francois Francois at iecholden.com
Wed Jan 8 04:03:02 CET 2003

Right on!

Thanks Brad and Peter, you were right, it is working now. Great stuff that



-----Original Message-----
From: Peter Hansen [mailto:peter at engcorp.com]
Sent: January 7, 2003 6:20 PM
To: python-list at python.org
Subject: Re: xml-rpc, O'Reilly cookbook example not working???

bradh at cuneata.net wrote:
> Quoting "Meehan, Francois" <Francois at iecholden.com>:
> <snip>
> > if __name__=='__main__':
> >     server = SimpleXMLRPCServer.SimpleXMLRPCServer(("localhost",
> > 8000))
> "localhost" has very specific meaning and will normally only bind to the
> loopback interface. If you insert the machine name here, you should be
able to
> use it on another interface.

Or, perhaps more generally, just use an address of ('', 8000) so that
the server listens on all interfaces (including, not coincidentally, or localhost).


More information about the Python-list mailing list