<div>Okay, I changed this:</div>
<div>  server = SimpleXMLRPCServer.SimpleXMLRPCServer(("localhost", 8000), ....)</div>
<div>for this:</div>
<div>  server = SimpleXMLRPCServer.SimpleXMLRPCServer(('', 8000), ....)</div>
<div> </div>
<div>Replacing "localhost" with two simple quotes ' makes it work.</div>
<div>Anyone knows the reason for this?</div>
<div> </div>
<div>Thank so much.</div>
<div> </div>
<div>Jose Carlos</div>
<div> </div>
<div><span class="gmail_quote">2006/4/12, Jose Carlos Balderas Alberico <<a href="mailto:josecarlos.balderas@gmail.com">josecarlos.balderas@gmail.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="DIRECTION: ltr">
<div>Thank you for the quick reply John...</div>
<div>Is there a way to sort this out? Should I specify another address here:</div></div>
<div style="DIRECTION: ltr"><span class="q">
<div> </div>
<div>server = SimpleXMLRPCServer.SimpleXMLRPCServer(("localhost", 8000), ....)</div>
<div> </div></span></div>
<div style="DIRECTION: ltr">
<div>instead of "localhost" ?</div>
<div> </div>
<div>I'm kind of new to client/server programming, so I'm at a loss here.</div>
<div>Thank you very much for your attention.</div>
<div> </div>
<div>Jose Carlos.</div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">2006/4/12, John Abel <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jabel@plus.net" target="_blank">jabel@plus.net</a>>:</span> </div>
<div style="DIRECTION: ltr"><span class="e" id="q_10a8dd7ab4cbc05e_3">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Your server is only listening on <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://127.0.0.1/" target="_blank">
127.0.0.1</a>.<br><br>Jose Carlos Balderas Alberico wrote: <br>> Up till now I've been setting up my server and client in the same<br>> machine, using the "localhost" address for everything.<br>> Once I've made it work, I need to move my client application to the 
<br>> computer where it'll be run from, and for some reason, I get a<br>> socket.error: (111, 'connection refused').<br>><br>> The server is listening on port 8000. I've used the line<br>><br>> server = 
SimpleXMLRPCServer.SimpleXMLRPCServer(("localhost", 8000), ....)<br>> ##register functions...<br>> ...<br>> ...<br>> server.serve_forever()<br>><br>><br>> And the client does the following:<br>
><br>> host = "XXXX:8000" (where XXXX is the server's IP address)<br>> conn = xmlrpclib.connect(host)<br>> data = conn.requestData() (requestData is a function previously<br>> registered in the server) 
<br>><br>> I've made sure the server is listening on port 8000, since the netstat<br>> command says it's listening on port 8000.<br>> I've also pinged the server from the client and viceversa and I get an<br>> answer. So they can see each other. 
<br>><br>> I've tried looking in google but couldn't find a solution to this<br>> problem. Anyone can give me a hand on this?<br>> Thank you very much.<br>><br>> Jose Carlos.<br><br></blockquote></span></div>

<div style="DIRECTION: ltr"></div><br> </div></blockquote></div><br>