Bug #80102 [Opn->Fbk]: stream_socket_client can't connect
| From: | sjon@php.net | Date: | Mon, 14 Sep 2020 11:50:58 +0000 |
| Subject: | Bug #80102 [Opn->Fbk]: stream_socket_client can't connect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-228997@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80102&edit=1
ID: 80102
Updated by: sjon@php.net
Reported by: contact at laurent-aubertin dot com
Summary: stream_socket_client can't connect
-Status: Open
+Status: Feedback
Type: Bug
Package: Sockets related
Operating System: ubuntu
PHP Version: 7.4.10
Block user comment: N
Private report: N
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
> var_dump(stream_socket_client('tcp://127.0.0.1:7687'));
this works fine for me - does this single line fail for you as well?
Previous Comments:
------------------------------------------------------------------------
[2020-09-14 11:48:22] contact at laurent-aubertin dot com
Description:
------------
error : Warning: stream_socket_client(): unable to connect to tcp://127.0.0.1:7687 (Failed to parse
address "null")
this connection work fine in PHP 7.4.9
No change in my code, just upgrade from 7.4.9 to 7.4.10
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80102&edit=1