Bug #68420 [Com]: listen=9000 listens to ipv6 localhost instead of all addresses
Edit report at https://bugs.php.net/bug.php?id=68420&edit=1
ID: 68420
Comment by: sjon at hortensius dot net
Reported by: sjon at hortensius dot net
Summary: listen=9000 listens to ipv6 localhost instead of all
addresses
Status: Open
Type: Bug
Package: FPM related
PHP Version: 5.6.3
Block user comment: N
Private report: N
New Comment:
ps specifying listen=:::9000 works fine; maybe the default should be updated to that
Previous Comments:
------------------------------------------------------------------------
[2014-11-14 10:16:07] sjon at hortensius dot net
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 this bug report at https://bugs.php.net/bug.php?id=68420&edit=1
Thread (4 messages)