Open ligg opened 3 years ago
k you pull request, this pr cannot be merged into the master branch, because the test environment generally uses the IP address, the production environment is set to 0.0.0.0, and multi-network cards need to set the default route for 0.0.0.0 to take effect. 谢谢pull request, 这个PR不能合并到master 分支上,因 测试环境一般使用IP地址,生产环境设置为0.0.0.0,而多网卡需要设置默认路由,0.0.0.0才能生效。
不同的ip段分别有不同的工作场景,我希望微服务只工作于某一特定ip段
在surging配置文件里增加了"PreferredNetworks": ""配置节 添加ip前缀即可使系统获取ip的时候只获取该前缀下的ip 单网卡的可以空着