----- Original Message ----- > From: "Amit Saha" <as...@redhat.com> > To: twisted-python@twistedmatrix.com > Sent: Monday, December 9, 2013 3:28:47 PM > Subject: [Twisted-Python] Queries about connecting to a XML-RPC server over > IPv6 > > Hello, > > I am trying to connect to a local XML-RPC server with IPv4 *disabled*. Here > is my script: > > from twisted.web.xmlrpc import Proxy > from twisted.internet import reactor > > def printValue(value): > print repr(value) > reactor.stop() > > def printError(error): > print 'error', error > reactor.stop() > > proxy = Proxy('http://localhost6:8000') > proxy.callRemote('my_proxy_method').addCallbacks(printValue, printError) > > > When I run it, i get "No route to host: 101, Network is unreachable". > > However, 'curl -6 localhost:8000' succeeds. What could be going on here? > I am using Twisted-12.2 on Fedora 19.
That should be, 'curl -6 localhost6:8000'. _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python