Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/createSwooleServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

$server = new Swoole\Http\Server(
$host,
$serverState['port'] ?? 8080,
$serverState['port'] ?? 8000,
$config['swoole']['mode'] ?? SWOOLE_PROCESS,
($config['swoole']['ssl'] ?? false)
? $sock | SWOOLE_SSL
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/StartCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class StartCommand extends Command implements SignalableCommandInterface
*/
public $signature = 'octane:start
{--server= : The server that should be used to serve the application}
{--host=127.0.0.1 : The IP address the server should bind to}
{--host= : The IP address the server should bind to}
{--port= : The port the server should be available on [default: "8000"]}
{--rpc-host= : The RPC IP address the server should bind to}
{--rpc-port= : The RPC port the server should be available on}
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/StartRoadRunnerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class StartRoadRunnerCommand extends Command implements SignalableCommandInterfa
* @var string
*/
public $signature = 'octane:roadrunner
{--host=127.0.0.1 : The IP address the server should bind to}
{--host= : The IP address the server should bind to}
{--port= : The port the server should be available on}
{--rpc-host= : The RPC IP address the server should bind to}
{--rpc-port= : The RPC port the server should be available on}
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/StartSwooleCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class StartSwooleCommand extends Command implements SignalableCommandInterface
* @var string
*/
public $signature = 'octane:swoole
{--host=127.0.0.1 : The IP address the server should bind to}
{--host= : The IP address the server should bind to}
{--port= : The port the server should be available on}
{--workers=auto : The number of workers that should be available to handle requests}
{--task-workers=auto : The number of task workers that should be available to handle tasks}
Expand Down