修改端口

master
elf 2 years ago
parent 88ba0d0749
commit 1b01e9256c

@ -20,7 +20,7 @@ return [
'name' => 'http', 'name' => 'http',
'type' => Server::SERVER_HTTP, 'type' => Server::SERVER_HTTP,
'host' => '0.0.0.0', 'host' => '0.0.0.0',
'port' => 9501, 'port' => 9801,
'sock_type' => SWOOLE_SOCK_TCP, 'sock_type' => SWOOLE_SOCK_TCP,
'callbacks' => [ 'callbacks' => [
Event::ON_REQUEST => [Hyperf\HttpServer\Server::class, 'onRequest'], Event::ON_REQUEST => [Hyperf\HttpServer\Server::class, 'onRequest'],

Loading…
Cancel
Save