Re: RE: [PHP] PHP_fsockopen_connection refused(111)

From: Date: Thu, 09 Feb 2006 19:18:52 +0000
Subject: Re: RE: [PHP] PHP_fsockopen_connection refused(111)
Groups: php.general 
Request: Send a blank email to php-general+get-230176@lists.php.net to get a copy of this message
Hello, >I am also creating the same thing... >I use socket_create(), and it works fine. Who is the registrar? Well I try querying denic which is the german registry. I finally got it to work, but it seems it is a name<->ip resolving issue. Instead of using the whois.denic.de as a name, I used the corresponding IP address. And now it works. What I really don't now, is why name resolution works when I use the command line or the browser... ??? One error reported was (in combination with leaving out the "@" in front of the fsockopen() function): Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /path/php/class/Request.php on line 22 ... Adding "@" in front of fsockopen and using Address instead of domainname solves the problem (superficially)... Thx for your help BB -- Telefonieren Sie schon oder sparen Sie noch? NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie

« previous php.general (#230176) next »