refactor(server_999): 修改服务器监听地址并调整服务启动脚本

- 将多个服务的监听地址从 127.0.0.1 修改为 0.0.0.0,以支持外部访问
- 更新 stop_all.sh 脚本,启用 relay_svr 和 team_svr 的停止脚本
- 新增 relation_svr 的停止脚本
- 修改 tunnel_proxy 的 TunnelSvrIp 为 0.0.0.0
This commit is contained in:
root
2025-05-07 21:31:28 +08:00
parent 2cb6ad5bb5
commit 58b070f562
6 changed files with 12 additions and 9 deletions

View File

@@ -3,7 +3,7 @@
<BussinessID>0 </BussinessID> <BussinessID>0 </BussinessID>
<RelayShmKey>3109991</RelayShmKey> <RelayShmKey>3109991</RelayShmKey>
<GCIMShmKey>2109991</GCIMShmKey> <GCIMShmKey>2109991</GCIMShmKey>
<Listen>tcp://127.0.0.1:29991?reuse=1</Listen> <Listen>tcp://0.0.0.0:29991?reuse=1</Listen>
<BackLog>5 </BackLog> <BackLog>5 </BackLog>
<PkgMaxSize>655360 </PkgMaxSize> <PkgMaxSize>655360 </PkgMaxSize>
<SendBuff>65536000 </SendBuff> <SendBuff>65536000 </SendBuff>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<jsonlogloader_svr_conf version="1"> <jsonlogloader_svr_conf version="1">
<listen_ip>127.0.0.1</listen_ip> <listen_ip>0.0.0.0</listen_ip>
<listen_port>19997</listen_port> <listen_port>19997</listen_port>
<buff_size>1024000</buff_size> <buff_size>1024000</buff_size>
<size_limit>512000000</size_limit> <size_limit>512000000</size_limit>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="GBK" standalone="yes" ?> <?xml version="1.0" encoding="GBK" standalone="yes" ?>
<oper_logload_svr_conf version="1"> <oper_logload_svr_conf version="1">
<ListenIp>127.0.0.1</ListenIp> <ListenIp>0.0.0.0</ListenIp>
<ListenPort>19996</ListenPort> <ListenPort>19996</ListenPort>
<DBIp>121.41.123.129</DBIp> <DBIp>121.41.123.129</DBIp>
<DBPort>3306</DBPort> <DBPort>3306</DBPort>

View File

@@ -4,7 +4,7 @@
<MemPoolShmKey>1109993</MemPoolShmKey> <MemPoolShmKey>1109993</MemPoolShmKey>
<MemPoolShmSize>140000000</MemPoolShmSize> <MemPoolShmSize>140000000</MemPoolShmSize>
<RoomCount>20</RoomCount> <RoomCount>20</RoomCount>
<UdpMsgHost>127.0.0.1</UdpMsgHost> <UdpMsgHost>0.0.0.0</UdpMsgHost>
<UdpMsgPort>19993</UdpMsgPort> <UdpMsgPort>19993</UdpMsgPort>
<BattleFps>30</BattleFps> <BattleFps>30</BattleFps>
<RecvBusMsgInterval>100</RecvBusMsgInterval> <RecvBusMsgInterval>100</RecvBusMsgInterval>

View File

@@ -23,8 +23,8 @@ cd ../../zone_conn/cfg/
cd ../../world_svr/cfg/ cd ../../world_svr/cfg/
./stop_world_svr.sh ./stop_world_svr.sh
#cd ../../relay_svr/cfg/ cd ../../relay_svr/cfg/
#./stop_relay_svr.sh ./stop_relay_svr.sh
cd ../../busd/cfg/ cd ../../busd/cfg/
./stop_busd.sh ./stop_busd.sh
@@ -41,8 +41,11 @@ cd ../../db_global_proxy/cfg/
cd ../../chat_svr/cfg/ cd ../../chat_svr/cfg/
./stop_chat_svr.sh ./stop_chat_svr.sh
#cd ../../team_svr/cfg/ cd ../../relation_svr/cfg/
#./stop_team_svr.sh ./stop_relation_svr.sh
cd ../../team_svr/cfg/
./stop_team_svr.sh
cd ../../moderation_svr/cfg/ cd ../../moderation_svr/cfg/
./stop_moderation_svr.sh ./stop_moderation_svr.sh

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="GBK" standalone="yes" ?> <?xml version="1.0" encoding="GBK" standalone="yes" ?>
<TunnelProxyConf version="1" > <TunnelProxyConf version="1" >
<TunnelSvrIp>127.0.0.1</TunnelSvrIp> <TunnelSvrIp>0.0.0.0</TunnelSvrIp>
<TunnelSvrPort>29006</TunnelSvrPort> <TunnelSvrPort>29006</TunnelSvrPort>
<LocalIP>127.0.0.1</LocalIP> <LocalIP>127.0.0.1</LocalIP>
<LocalPort>29992</LocalPort> <LocalPort>29992</LocalPort>