Closed 4n70w4 closed 5 years ago
Did you try to run wget http://127.0.0.1:8080/
?
It must listen to both ipv4 and ipv6. I can clearly observe server respond by both ipv6 and ipv4 on my local test rig.
FYI,
maxRequest: 10
it is about maximum request body size, in next release, we will rename this option to avoid confusion. Use pool.maxJobs
instead.
Oh, false alarm, sorry. Indeed, the tcp6 line in netstat includes both ipv4 and ipv6. But at first glance misleading.
I ended up here, looking for ipv6 support. The discussion here is no longer relevant since roadrunner 2 which at the moment only supports ipv4.
composer req spiral/roadrunner symfony/psr-http-message-bridge
wget https://github.com/spiral/roadrunner/releases/download/v1.3.5/roadrunner-1.3.5-linux-amd64.tar.gz
tar xvzf roadrunner-1.3.5-linux-amd64.tar.gz
Copy .rr.yml and worker.php from https://github.com/spiral/roadrunner/wiki/Symfony-Framework
./roadrunner-1.3.5-linux-amd64/rr serve -v -d
netstat -tulpn | grep 8080
If run as root:
netstat -tulpn | grep roadr
uname -a
Linux php 4.9.125-linuxkit #1 SMP Fri Sep 7 08:20:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
wget http://localhost:8080/
In log: