Websterz Technology Blog

Free tutorials, Tech News, Source codes, Tweaks and Tips.

If you are getting the error bad file descriptor while establishing remote connection to another server, it seems you have configuration error for you SSH server’s port.

 

Reason:

Outgoing connections are blocked by firewall, or port is blocked for outgoing connections in firewall.

Quick Fix:

Add the PORT Number in outgoing enabled port list in firewall, for CSF you need to add it in TCP_IN and TCP_OUT ports list.

Feedback are appreciated : )

Spread the love
See also  EasyApache Error -Timeout on connect..Can't use an undefined value as an ARRAY reference at /usr/local/cpanel/Cpanel/HttpRequest.pm line 550.

Leave a Reply

Your email address will not be published. Required fields are marked *