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:
@@ -3,7 +3,7 @@
|
||||
<BussinessID>0 </BussinessID>
|
||||
<RelayShmKey>3109991</RelayShmKey>
|
||||
<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>
|
||||
<PkgMaxSize>655360 </PkgMaxSize>
|
||||
<SendBuff>65536000 </SendBuff>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<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>
|
||||
<buff_size>1024000</buff_size>
|
||||
<size_limit>512000000</size_limit>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="GBK" standalone="yes" ?>
|
||||
<oper_logload_svr_conf version="1">
|
||||
<ListenIp>127.0.0.1</ListenIp>
|
||||
<ListenIp>0.0.0.0</ListenIp>
|
||||
<ListenPort>19996</ListenPort>
|
||||
<DBIp>121.41.123.129</DBIp>
|
||||
<DBPort>3306</DBPort>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<MemPoolShmKey>1109993</MemPoolShmKey>
|
||||
<MemPoolShmSize>140000000</MemPoolShmSize>
|
||||
<RoomCount>20</RoomCount>
|
||||
<UdpMsgHost>127.0.0.1</UdpMsgHost>
|
||||
<UdpMsgHost>0.0.0.0</UdpMsgHost>
|
||||
<UdpMsgPort>19993</UdpMsgPort>
|
||||
<BattleFps>30</BattleFps>
|
||||
<RecvBusMsgInterval>100</RecvBusMsgInterval>
|
||||
|
||||
@@ -23,8 +23,8 @@ cd ../../zone_conn/cfg/
|
||||
cd ../../world_svr/cfg/
|
||||
./stop_world_svr.sh
|
||||
|
||||
#cd ../../relay_svr/cfg/
|
||||
#./stop_relay_svr.sh
|
||||
cd ../../relay_svr/cfg/
|
||||
./stop_relay_svr.sh
|
||||
|
||||
cd ../../busd/cfg/
|
||||
./stop_busd.sh
|
||||
@@ -41,8 +41,11 @@ cd ../../db_global_proxy/cfg/
|
||||
cd ../../chat_svr/cfg/
|
||||
./stop_chat_svr.sh
|
||||
|
||||
#cd ../../team_svr/cfg/
|
||||
#./stop_team_svr.sh
|
||||
cd ../../relation_svr/cfg/
|
||||
./stop_relation_svr.sh
|
||||
|
||||
cd ../../team_svr/cfg/
|
||||
./stop_team_svr.sh
|
||||
|
||||
cd ../../moderation_svr/cfg/
|
||||
./stop_moderation_svr.sh
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="GBK" standalone="yes" ?>
|
||||
<TunnelProxyConf version="1" >
|
||||
<TunnelSvrIp>127.0.0.1</TunnelSvrIp>
|
||||
<TunnelSvrIp>0.0.0.0</TunnelSvrIp>
|
||||
<TunnelSvrPort>29006</TunnelSvrPort>
|
||||
<LocalIP>127.0.0.1</LocalIP>
|
||||
<LocalPort>29992</LocalPort>
|
||||
|
||||
Reference in New Issue
Block a user