Using the '' makes it listen on all interfaces.
Jose Carlos Balderas Alberico wrote:
> Okay, I changed this:
> server = SimpleXMLRPCServer.SimpleXMLRPCServer(("localhost", 8000),
> )
> for this:
> server = SimpleXMLRPCServer.SimpleXMLRPCServer(('', 8000), )
>
> Replacing "localhost"
Your server is only listening on 127.0.0.1.
Jose Carlos Balderas Alberico wrote:
> Up till now I've been setting up my server and client in the same
> machine, using the "localhost" address for everything.
> Once I've made it work, I need to move my client application to the
> computer where it'
Okay, I changed this:
server = SimpleXMLRPCServer.SimpleXMLRPCServer(("localhost", 8000), )
for this:
server = SimpleXMLRPCServer.SimpleXMLRPCServer(('', 8000), )
Replacing "localhost" with two simple quotes ' makes it work.
Anyone knows the reason for this?
Thank so much.
Jose Ca
Thank you for the quick reply John...
Is there a way to sort this out? Should I specify another address here:
server = SimpleXMLRPCServer.SimpleXMLRPCServer(("localhost", 8000), )
instead of "localhost" ?
I'm kind of new to client/server programming, so I'm at a loss here.
Thank you very
Up till now I've been setting up my server and client in the same machine, using the "localhost" address for everything.
Once I've made it work, I need to move my client application to the computer where it'll be run from, and for some reason, I get a socket.error: (111, 'connection refused').
Th