in reply to Re: IO::Socket::INET: connect: Permission denied
in thread IO::Socket::INET: connect: Permission denied

permission denied is a weird error?
Not weird but I suspect Security-enhanced Linux (SELinux) is enabled and affecting socket connection on this machine. Disable SELinux if enabled and give a try.
  • Comment on Re^2: IO::Socket::INET: connect: Permission denied