The program I have does a Whois search but can not use port 43 at Godaddy hosting.
http://www.netbonded.com/whois/samswhois.inc.php.

This is the code where the error occurs.

function dolookup($domai n, $server){
$domain = strtolower($dom ain);
$server = strtolower($ser ver);
if( $domain == '' || $server == '' ) return false;
if( $this->m_cachelifetim e > 0 ){
...