in reply to Error in HTTPS connection with error: No connection could be made because the target machine actively refused it. at C:/Perl/lib/LWP/Protocol/http.pm line 47

Welcome to the Monastery, jliu5!

First thing to do in this case is to verify that you can connect to the site by traditional means. Try via a web browser (https://server_ip), and/or telnet server_ip 443.

Do either one of those connect properly? If so, are you sure you have the correct server string in your script?

  • Comment on Re: Error in HTTPS connection with error: No connection could be made because the target machine actively refused it. at C:/Perl/lib/LWP/Protocol/http.pm line 47
  • Select or Download Code