Bug #68420 [NEW]: listen=9000 listens to ipv6 localhost instead of all addresses
From: sjon at hortensius dot net
Operating system:
PHP version: 5.6.3
Package: FPM related
Bug Type: Bug
Bug description:listen=9000 listens to ipv6 localhost instead of all addresses
Description:
------------
I'm very happy the ipv6 code was finally pulled and released. However; I
noticed an issue where the documentation and implementation are no
longer correct. When specifying 'listen=9000'; fpm should listen on all
interfaces; but it seems to listen to ipv6's localhost address only. It
works fine when explicitly specifying an ipv6 address
Expected result:
----------------
# ss -lpn|grep 9000
tcp LISTEN 0 128 ::1:9000
:::* users:(("php-fpm",pid=8591,fd=8))
Actual result:
--------------
# ss -lpn|grep 9000
tcp LISTEN 0 128 :::9000
:::* users:(("php-fpm",pid=8591,fd=8))
--
Edit bug report at https://bugs.php.net/bug.php?id=68420&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68420&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68420&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68420&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68420&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68420&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68420&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68420&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68420&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68420&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68420&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68420&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68420&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68420&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68420&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68420&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68420&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68420&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68420&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68420&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68420&r=mysqlcfg
Thread (4 messages)
- sjon at hortensius dot net