From 06754c01ddd356093c7f2543fad0bfe47e86e95d Mon Sep 17 00:00:00 2001 From: lightingss Date: Thu, 30 Mar 2023 21:03:38 +0800 Subject: [PATCH] update config --- game-server/config/master.json | 2 +- game-server/config/servers.json | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/game-server/config/master.json b/game-server/config/master.json index 1f0a32b..f08f33a 100644 --- a/game-server/config/master.json +++ b/game-server/config/master.json @@ -3,7 +3,7 @@ "id": "master-server-1", "host": "127.0.0.1", "port": 3005 }, "production": { - "id": "master-server-1", "host": "127.0.0.1", "port": 3005 + "id": "master-server-1", "host": "192.168.100.173", "port": 3005 }, "dchat": { "id": "master-server-1", "host": "192.168.100.173", "port": 3005 diff --git a/game-server/config/servers.json b/game-server/config/servers.json index 994983b..0fd1c26 100644 --- a/game-server/config/servers.json +++ b/game-server/config/servers.json @@ -29,19 +29,19 @@ "production":{ "connector": [ - {"id": "connector-server-0", "host": "127.0.0.1", "port": 3150, "clientHost": "0.0.0.0", "proxyHost": "bee.local", "clientPort": 3010, "frontend": true}, - {"id": "connector-server-1", "host": "127.0.0.1", "port": 3151, "clientHost": "0.0.0.0", "proxyHost": "bee.local", "clientPort": 3011, "frontend": true} + {"id": "connector-server-0", "host": "192.168.100.173", "port": 3150, "clientHost": "0.0.0.0", "proxyHost": "bee.local", "clientPort": 3010, "frontend": true}, + {"id": "connector-server-1", "host": "192.168.100.173", "port": 3151, "clientHost": "0.0.0.0", "proxyHost": "bee.local", "clientPort": 3011, "frontend": true} ], "guild": [ - {"id": "guild-server-0", "host": "127.0.0.1", "port": 3200}, - {"id": "guild-server-1", "host": "127.0.0.1", "port": 3201} + {"id": "guild-server-0", "host": "192.168.100.173", "port": 3200}, + {"id": "guild-server-1", "host": "192.168.100.173", "port": 3201} ], "friend": [ - {"id": "friend-server-0", "host": "127.0.0.1", "port": 3250}, - {"id": "friend-server-1", "host": "127.0.0.1", "port": 3251} + {"id": "friend-server-0", "host": "192.168.100.173", "port": 3250}, + {"id": "friend-server-1", "host": "192.168.100.173", "port": 3251} ], "gate": [ - {"id": "gate-server-0", "host": "127.0.0.1", "clientPort": 3999, "frontend": true} + {"id": "gate-server-0", "host": "192.168.100.173", "clientPort": 3999, "frontend": true} ] }, "dchat": {