xml-rpc, O'Reilly cookbook example not working???
Meehan, Francois
Francois at iecholden.com
Tue Jan 7 22:03:02 EST 2003
Right on!
Thanks Brad and Peter, you were right, it is working now. Great stuff that
is.
Regards,
Francois
-----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,
127.0.0.1 or localhost).
-Peter
--
http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list