I am trying to implement a remote object implementation using xmlrpc, and python 3. I have tried the example at http://docs.python.org/3.1/library/xmlrpc.server.html?highlight=xmlrpc#simplexmlrpcserver-example, but it only works to and from localhost, how can I get it to work to and from internal IPs?
A:
Perhaps I'm misunderstanding your question, but... Have you tried running the server code on another machine, and the client code (changing the 'localhost' value in the first line of the client code s = xmlrpc.client.ServerProxy('http://localhost:8000')
to the IP address of the remote server?
ewall
2009-10-22 22:27:23
Yes, but it doesn't seem to work.
Joe
2009-10-23 10:26:02
What kind of errors are you getting? When the server is running on the remote computer, can you use a web browser to get a response at http://remote:8000 (or 'telnet remote 8000')?
ewall
2009-10-23 14:30:50
I'm getting timeout.
Joe
2009-10-26 17:28:46
You get the timeout even from a web browser? Sounds like it can't connect across the network... Things to check include firewalls (in between, or software firewalls on the server-side) and routing (can you even ping the server IP address from the client?).
ewall
2009-10-26 19:53:29