[PHP] PHP_fsockopen_connection refused(111)

2006-02-09 Thread Leonidas Safran
Hello, I'm writting a domain checker and for that, I want to use fsockopen to send data to the registry's whois database. Unfortunately I have always Connection refused, Error 111 when try to create a socket... Even the example shown on php.net website doesn't work, so I believe it's not a code

RE: [PHP] PHP_fsockopen_connection refused(111)

2006-02-09 Thread Jim Moseby
I'm writting a domain checker and for that, I want to use fsockopen to send data to the registry's whois database. Unfortunately I have always Connection refused, Error 111 when try to create a socket... Are you just doing whois lookups? If so, there's an easier way on a linux box:

RE: [PHP] PHP_fsockopen_connection refused(111)

2006-02-09 Thread Weber Sites LTD
://uptime.weberdev.com -Original Message- From: Leonidas Safran [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 7:49 PM To: php-general@lists.php.net Subject: [PHP] PHP_fsockopen_connection refused(111) Hello, I'm writting a domain checker and for that, I want to use fsockopen to send data

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

2006-02-09 Thread Leonidas Safran
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