Closed thyseus closed 3 years ago
I have the same issue
I found interesting code at https://github.com/laravel/octane/blob/1.x/src/Commands/StartRoadRunnerCommand.php#L152 If you start server on port 80 then rpc-port will be -1919
@nunomaduro I'm already create pull request to fix this bug, but it is closed.. https://github.com/laravel/octane/pull/279
That pull request #279 introduces a regression where 2 octane servers can no longer run in the same server.
Where am i able to set the rpc-port
for myself ? I can not find any clues in the documentation. It should work just out-of-the-box as @goszowski is proposing.
Where am i able to set the
rpc-port
for myself ? I can not find any clues in the documentation. It should work just out-of-the-box as @goszowski is proposing.
php artisan octane:start --rpc-port=%your_port%
Ah thanks a lot. Putting
command=/usr/bin/php -d variables_order=EGPCS /var/www/html/artisan octane:start --rpc-port=6001 --server=roadrunner --host=0.0.0.0 --port=80
in docker/8.0/supervisord.conf
and - important - doing a sail build --no-cache
makes roadrunner working for me after coming back from the coffee machine !
I think this parameter should be included as default in the documentation.
I've just added documentation about this: https://github.com/laravel/docs/pull/7070.
I get this error after installing octane 1.0.0. Any Ideas what this means or what I did wrong ? Where does the port
-1919
come from ? I tried to bind port 80 to port 80 indocker-compose.yml
:Thanks a lot !