xmlrpclib, Windows, connection refused?

Peter Hansen peter at engcorp.com
Fri Feb 21 08:42:39 EST 2003


John Abel wrote:
> 
> I'm guessing your using SimpleXMLRPCServer?  What interface is the
> server bound too?  It needs to be bound to the IP, rather than
> localhost.  When specifiying the host/port, try using:
> 
> (socket.gethostbyname( socket.gethostname() ), 8888 )

Better yet, use ('', 8888) as your address to listen on *all*
interfaces, including the loopback interface (localhost).

-Peter




More information about the Python-list mailing list