Authorized.net-Bad file descriptor - connect(2)

Hello,

I have developed a e-commerce application for magazine purchase/
subscription, (development environment)

Payment Gateway- Authorized.net

I am using the “payment” gem for processing payments.

I have no issues while processing the payment while working at home,
but when i try to process payments,I get the “Bad file descriptor -
connect(2)” error, is it because i am behind the corporate firewall,
its giving me error.

Following is my configuration

  1. MySql, ruby, lighttpd (mod_scgi) are all hosted on the same Windows
    machine.

  2. Opened port 443 on the firewall for https post.

While searching for a possible solution, the answers got were either its
due to same ports assigned or file has only write property.

I have no clue what is wrong and have been working on this situation
ever since, please let me know your suggestions.

Best Regards,
Santosh Kumar M