#34028 [NEW]: socket_create_listen doesn't listen on all interfaces
| From: | alex at cedevices dot com | Date: | Sun, 07 Aug 2005 18:43:16 +0000 |
| Subject: | #34028 [NEW]: socket_create_listen doesn't listen on all interfaces | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-83139@lists.php.net to get a copy of this message | ||
From: alex at cedevices dot com
Operating system: Windows 2000
PHP version: 5.0.4
PHP Bug Type: Sockets related
Bug description: socket_create_listen doesn't listen on all interfaces
Description:
------------
Standard latest xampp setup (including PHP 5.0.4).
When using socket_create_listen(port), it does not listen on all
interfaces as the docs indicate that it would. I was unable to connect to
the machine using anything other than localhost (127.0.0.1).
The workaround is to use socket_create, socket_bind (with 0.0.0.0 as the
address) and socket_listen to accomplish the same task.
--
Edit bug report at http://bugs.php.net/?id=34028&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34028&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34028&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34028&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34028&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34028&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34028&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34028&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34028&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34028&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34028&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34028&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34028&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34028&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34028&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34028&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34028&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34028&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34028&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34028&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34028&r=mysqlcfg