求救,20个域名限制不够用怎么办

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 20:43 671 0 全屏看文

AI助手支持GPT4.0

求救,20个域名限制不够用怎么办

准备在小程序上线一款H5游戏,游戏是多服的,计划每个服导入2000玩家,不断的滚服,可能达到1000服以上,

但微信小程序这边限制了只能通过域名发请求,且最多只能有20个域名,端口也有限制,这样只能开20个服,

那要开1000个服怎么办呢?


We are going to launch an H5 game in the app. The game is multi server. We plan to import 2000 players into each service and roll out the service continuously, which may reach more than 1000 services. However, wechat applet restricts the request only through domain name, and can only have 20 domain names at most, and the port is also limited. In this way, only 20 servers can be opened. What should we do if we open 1000 servers?

回答:

Forever:

request合法域名、socket合法域名、uploadfile合法域名、downloadfile合法域名、udp合法域名、业务域名总数不超过1000个

-EOF-

AI助手支持GPT4.0