#33557 [Com]: fsocketopen does not open connections
| From: | peter dot westwood at ftwr dot co dot uk | Date: | Sun, 14 Aug 2005 16:57:43 +0000 |
| Subject: | #33557 [Com]: fsocketopen does not open connections | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83566@lists.php.net to get a copy of this message | ||
ID: 33557
Comment by: peter dot westwood at ftwr dot co dot uk
Reported By: dominic at authorsoftware dot com
Status: No Feedback
Bug Type: Network related
Operating System: Windows Server 2003
PHP Version: 5.0.4
New Comment:
Hi.
I was seing this problem on WindowsXP using XAMPP 1.4.13 with bundled
PHP5 (v5.0.4) using PHP with apache2 updating to the referred CVS
snapshot doesn't fix this issue.
Looking at the Ethernet Comms with Ethereal with both v5.0.4 and the
CVS snapshot the SYN for the connection is sent and the SYN-ACK
recieved from the remote host together with the ACK to the SYN-ACK
being sent before PHP gives up and returns the following error:
Warning: fsockopen() [function.fsockopen]: unable to connect to
sandbox.ftwr.co.uk:80 (A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to
respond. ) in
C:\apachefriends\xampp\htdocs\wordpress\wp-includes\class-IXR.php on
line 514
Cheers
--
Peter
Previous Comments:
------------------------------------------------------------------------
[2005-07-11 01:00:04] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-07-03 21:18:49] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-07-03 21:00:40] dominic at authorsoftware dot com
This is applicable to TCP connections havn't tested UDP.
------------------------------------------------------------------------
[2005-07-03 20:59:12] dominic at authorsoftware dot com
Description:
------------
Using fsockopen on Windows Server 2003 from the CLI, appears not to
work at all, php returns with a unable to connect.
using either local loopback, IP address or hostnames
Expected result:
----------------
It should at least try and connect, however it returns immediately
saying it can't connect, it doesn't appear to even try.
I went back to PHP 4.3.11 on the server at it all works fine with that
version.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33557&edit=1