调整服务端口
This commit is contained in:
parent
f769f7ec02
commit
3b327a585a
@ -21,7 +21,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' => 9901,
|
'port' => 8401,
|
||||||
'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'],
|
||||||
@ -31,7 +31,7 @@ return [
|
|||||||
'name' => 'jsonrpc-http',
|
'name' => 'jsonrpc-http',
|
||||||
'type' => Server::SERVER_HTTP,
|
'type' => Server::SERVER_HTTP,
|
||||||
'host' => '0.0.0.0',
|
'host' => '0.0.0.0',
|
||||||
'port' => 9902,
|
'port' => 8402,
|
||||||
'sock_type' => SWOOLE_SOCK_TCP,
|
'sock_type' => SWOOLE_SOCK_TCP,
|
||||||
'callbacks' => [
|
'callbacks' => [
|
||||||
Event::ON_REQUEST => [\Hyperf\JsonRpc\HttpServer::class, 'onRequest'],
|
Event::ON_REQUEST => [\Hyperf\JsonRpc\HttpServer::class, 'onRequest'],
|
||||||
|
Loading…
Reference in New Issue
Block a user