#21653 [Com]: Warning: fsockopen() [function.fsockopen]: php_hostconnect: connect failed
| From: | laudanp at yahoo dot com | Date: | Fri, 27 Jun 2003 13:48:22 +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-42624@lists.php.net to get a copy of this message | ||
ID: 21653
Comment by: laudanp at yahoo dot com
Reported By: support at hostcolor dot com
Status: Feedback
Bug Type: Sockets related
Operating System: RedHat 7.2
PHP Version: 4.3.3RC2-dev
New Comment:
HI, I grabbed the newest stable snapshot today
(http://snaps.php.net/php4-STABLE-latest.tar.gz), build:
php4-STABLE-200306271330 / PHP Version 4.3.3RC2-dev
And the problem still shows up:
http://64.246.34.44/testpaul.php
Warning: fsockopen(): unable to connect to xxx.xxx.xxx.xxx in
/var/www/html/testpaul.php on line 134
Which is this line in the script:
$fp = fsockopen($REMOTE_ADDR, $portno, $errno, $errstr, 1);
For confirmation of the build, you can use this:
http://64.246.34.44/phpinfo.php
Thanks
Previous Comments:
------------------------------------------------------------------------
[2003-06-23 20:48:40] sniper@php.net
Yes, get the latest stable snapshot..
------------------------------------------------------------------------
[2003-06-22 15:09:21] laudanp at yahoo dot com
Yes that error message pops up. If you run it with a couple of those
open ports, what do you get?
But yes, I'm getting those errors. Re-download newest stable?
------------------------------------------------------------------------
[2003-06-22 05:11:11] 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.
------------------------------------------------------------------------
[2003-06-21 21:29:25] laudanp at yahoo dot com
Oops, I did not mean to place the "testpaul.php" file at the end,
however, here is the link again:
http://64.246.34.44/testpaul.php
Thank you... don't mind the "test" in the file name, it contains the
code exact code as found at computercops.biz I linked to way above.
Paul
------------------------------------------------------------------------
[2003-06-21 21:28:01] laudanp at yahoo dot com
Hi folks, we finally have a new server, and we just now installed the
CVS Stable build from your recommended download:
http://snaps.php.net/php4-STABLE-latest.tar.gz
You can see the phpinfo here:
http://64.246.34.44/phpinfo.php
And you can see the port scan page here, and the same exact errors show
up in this STABLE CVS 4.3.3RC2-dev build that I downloaded via your
recommended link.
So it appears, this is an actual bug as you can see other folks are
running into the same issue.
What is the next step? I'd like to help in debugging this issue such
that it can be resolve sooner rather than later.
Thank you,
Paul Laudanski
http://64.246.34.44/testpaul.php
------------------------------------------------------------------------
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