Posted on 2009-06-30 14:35:25-07 by yishaib
IO::Socket::INET configuration failed
I'm trying to run this code:
$SERVER = $class->new( Proto => 'tcp', LocalPort => $PORT, Listen => 5, Reuse => 1, SSL_cert_file => "foo.pem", SSL_key_file => "bar.pem" ); die "Can't setup server. I encountered a problem: ".IO::Socket::SSL::errstr() unless $SERVER;
But I get this output:
Can't setup server. I encountered a problem: IO::Socket::INET configuration failederror:00000000:li +b(0):func(0):reason(0)

I am running perl 5.8.8, IO:Socket:SSL ver 1.0.8.
The thing is that the same code exactly works fine on some PCs, but on others I get that error message.
Does anyone have an explanation/solution for this? Thanks!
Direct Responses: 11093 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.