R
R
repsac2017-03-10 01:39:26
PHP
repsac, 2017-03-10 01:39:26

Why doesn't PHP-FPM 7.1 start on tcp4 with listen = 9000 on Freebsd 10.1?

Greetings! I caught a problem today when configuring upstream for PHP-FPM 7.1 under FreeBSD 10.1:
with listen = 127.0.0.1:9000 php-fpm as expected - starts at 127.0.0.1:9000 tcp4, but the port is not accessible from the outside, and for upstream it is not fits.
with listen = 9000 php-fpm starts only on tcp6, of course, the port is also not available for tcp4 from the outside by telnet.
Hence the question - why? )) Where to dig? I didn't see this problem in earlier versions of PHP.
Z.Y. ;listen.allowed_clients = 127.0.0.1 did not uncomment

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
athacker, 2017-03-10
@athacker

Do you still have IPv4 in your system besides 127.0.0.1? :-) bring ifconfig, and php-fpm logs too.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question