Skip to content

Commit 1725b9f

Browse files
committed
[修改]1. 修改默认HTTP端口为28080
1 parent b693fb3 commit 1725b9f

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

GameFrameX.Launcher/Configs/app_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"MinModuleId": 1,
1313
"MaxModuleId": 9999,
1414
"WsPort": 29110,
15-
"HttpPort": 29200,
15+
"HttpPort": 28080,
1616
"HttpCode": "inner_httpcode",
1717
"DataBaseUrl": "mongodb://admin:admin@192.168.110.28:27017/?authSource=admin",
1818
"DataBaseName": "gameframex"

GameFrameX.Launcher/Properties/launchSettings.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@
44
"GameFrameX.Game": {
55
"commandName": "Project",
66
"environmentVariables": {
7+
"ASPNETCORE_ENVIRONMENT": "Development",
78
"--IsDebug": false,
89
"--IsDebugReceive": false,
910
"--IsDebugSend": false,
1011
"--ServerType": "Game",
11-
"--ServerId": 9001,
12+
"--ServerId": 9000,
1213
"--InnerIp": "127.0.0.1",
1314
"--InnerPort": 29100,
1415
"--OuterIp": "127.0.0.1",
1516
"--OuterPort": 29010,
1617
"--MinModuleId": 1,
1718
"--MaxModuleId": 9999,
1819
"--WsPort": 29110,
19-
"--HttpPort": 29200,
20+
"--HttpPort": 28080,
2021
"--HttpCode": "inner_httpcode",
2122
"--DataBaseUrl": "mongodb://admin:admin@192.168.110.28:27017/?authSource=admin",
2223
"--DataBaseName": "gameframex"

GameFrameX.Launcher/StartUp/AppStartUpGame.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected override void Init()
5959
ServerType = ServerType.Game,
6060
InnerPort = 29100,
6161
APMPort = 29090,
62-
HttpPort = 29200,
62+
HttpPort = 28080,
6363
WsPort = 29110,
6464
MinModuleId = 10,
6565
MaxModuleId = 9999,

0 commit comments

Comments
 (0)