in reply to Re: 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

yes you are right

  • Comment on Re^2: 500 Can't connect to localhost:80 (Connection Refused) at ./sample.pl line 19

Replies are listed 'Best First'.
Re^3: 500 Can't connect to localhost:80 (Connection Refused) at ./sample.pl line 19
by Anonymous Monk on Sep 03, 2013 at 05:37 UTC

    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' +);