http://www.perlmonks.org?node_id=1052017


in reply to Re^2: 500 Can't connect to localhost:80 (Connection Refused) at ./sample.pl line 19
in thread 500 Can't connect to localhost:80 (Connection Refused) at ./sample.pl line 19

I got it working with the following code

use Net::INET6Glue::INET_is_INET6; use LWP::Simple; print get( 'http://[2620:0:a17:e03d:250:56ff:fea4:6d]/server-status' +);
  • Comment on Re^3: 500 Can't connect to localhost:80 (Connection Refused) at ./sample.pl line 19
  • Download Code