xml-rpc, O'Reilly cookbook example not working???
Francois at iecholden.com
Wed Jan 8 04:03:02 CET 2003
Thanks Brad and Peter, you were right, it is working now. Great stuff that
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>:
> > 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
> 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,
127.0.0.1 or localhost).
More information about the Python-list