in reply to IO::Socket::SSL: connect: Connection refused

And what is happening at line 81 in email.pl?

There are many potential reasons for an SSL connection to be refused - ranging from an expired key to connecting to the wrong port to ... too many to list.

Please help us help you by supplying a snip of your code.


Be Appropriate && Follow Your Curiosity
  • Comment on Re: IO::Socket::SSL: connect: Connection refused

Replies are listed 'Best First'.
Re^2: IO::Socket::SSL: connect: Connection refused
by mahbubur (Initiate) on Apr 16, 2012 at 18:53 UTC
    Thanks for your response. I have figured out the the issue. The server that I was running the script was in a data center and they had a firewall in place to prevent outgoing traffic to imap port 993. Once the firewall rule was updated to allow traffic all seem to be working fine.