in reply to Re: IPv6 support for XML-RPC modules
in thread IPv6 support for XML-RPC modules
use warnings; use Net::INET6Glue::INET_is_INET6; require RPC::XML; require McClient; my $port = 8011; my @arr = @ARGV; my $host = "::1"; my $cli = RPC::XML::Client->new("http://[$host]:$port/RPC2"); my $cli_client = RPC::XML::request->new('AnaXmlRpcHandler.execute', ,R +PC::XML::array->new(map {RPC::XML::string->new($_)} @arr));
Now the error is different:
Can't locate object method "value" via package "RPC::XML::Client::request: HTTP server error: Can't connect to ::1:localhost:80 (sock_info: Bad service '80')" (perhaps you forgot to load "RPC::XML::Client::request: HTTP server error: Can't connect to ::1:localhost:80 (sock_info: Bad service '80')"?)
It seems the localhost is concateneated to ::1 and the port is cut (8011 -> 80). am I mis-using it ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: IPv6 support for XML-RPC modules
by Khen1950fx (Canon) on Mar 27, 2011 at 17:51 UTC | |
by daphnaw (Acolyte) on Mar 28, 2011 at 14:29 UTC |