Bug #68420 [Asn->Csd]: 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
Updated by: remi@php.net
Reported by: sjon at hortensius dot net
Summary: listen=9000 listens to ipv6 localhost instead of all
addresses
-Status: Assigned
+Status: Closed
Type: Bug
Package: FPM related
PHP Version: 5.6.3
Assigned To: remi
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=1d9bb287c566425a9ab4b8de62940565fe357270
Log: Fixed Bug #68420 listen=9000 listens to ipv6 localhost instead of all addresses
Previous Comments:
------------------------------------------------------------------------
[2014-11-14 13:32:56] vojtech dot kurka at gmail dot com
We experienced the same problem after upgrade to 5.5.19: our php-fpm stopped responding to all TCP
requests from nginx. Using this config:
listen = '9000'
Workaround: listen=:::9000
------------------------------------------------------------------------
[2014-11-14 10:25:04] sjon at hortensius dot net
ps specifying listen=:::9000 works fine; maybe the default should be updated to that
------------------------------------------------------------------------
[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)