#21653 [Com]: Warning: fsockopen() [function.fsockopen]: php_hostconnect: connect failed

From: Date: Wed, 05 Jan 2005 11:50:44 +0000
Subject: #21653 [Com]: Warning: fsockopen() [function.fsockopen]: php_hostconnect: connect failed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-71479@lists.php.net to get a copy of this message
 ID:               21653
 Comment by:       suhailc at gmail dot com
 Reported By:      support at hostcolor dot com
 Status:           No Feedback
 Bug Type:         Sockets related
 Operating System: RedHat 7.2
 PHP Version:      4.3.3RC2-dev
 New Comment:

Hi,

I get the following error:

Warning: fsockopen(): unable to connect to whois.crsnic.net:43 in
/home/ecompco/public_html/test.php on line 2
Could not open connection

However, the connection is made perfectly and fast when I switch off
APF. I get:

Connected OK.

For the life of me I cannot figure out why - I've added ports 43, 443,
4343, 80 to conf.php but still error shows when APF is on. But it does
have something to do with APF.

Regards,
Suhail.


Previous Comments:
------------------------------------------------------------------------

[2003-07-23 21:16:30] laudanp at yahoo dot com

I opened a new bug report here:

http://bugs.php.net/bug.php?id=24785

------------------------------------------------------------------------

[2003-07-23 14:44:48] laudanp at yahoo dot com

re: "No feedback from original bug submitter.
laudanp at yahoo dot com:
If you still feel this is a bug, open new report with
short example script, expected result and got result."

Thanks for replying to me.  I'll go ahead and open a new ticket while
referencing this one for posterity.  Look for it tonight.

------------------------------------------------------------------------

[2003-07-23 14:31:25] laudanp at yahoo dot com

Hi I provided the feedback above, I'm still having those problems. 
Help

------------------------------------------------------------------------

[2003-07-18 18:53:18] sniper@php.net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

No feedback from original bug submitter.
laudanp at yahoo dot com:
If you still feel this is a bug, open new report with
short example script, expected result and got result.



------------------------------------------------------------------------

[2003-07-10 14:53:49] laudanp at yahoo dot com

In addition, I'm not sure why the error would continue even after
wez...

"[22 Jun 5:11am CDT] wez@php.net 
When I visited your test page, it seemed to be working; the port-scans
triggered my port-sentry and that dropped the route to your machine.
So the only "problem" is that you see two separate error messages?
I've removed a redundant message from the stable branch.

"

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/21653

-- 
Edit this bug report at http://bugs.php.net/?id=21653&edit=1


Thread (57 messages)

« previous php.bugs (#71479) next »