xmlrpclib, connection refused? revisited
Mark Gibson
nonone at nowhere.com
Sun Apr 20 03:20:38 EDT 2003
Peter Hansen <peter at engcorp.com> wrote:
: 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
I had the same problem, and using '' fixed it. Can someone explain it what's
happening?
Mark
More information about the Python-list
mailing list