外网访问怎么配置
Closed this issue · 3 comments
stevenliuit commented
你好 我把docker配置在外网了 然后和network_mode有关系嘛?
参数已经配置了
UAT_URL: http://www.baidu.com:8082
DEV_URL: http://www.baidu.com:8080
FAT_URL: http://www.baidu.com:8081
PRO_URL: http://www.baidu.com:8083
举例baidu为我域名
然后配置完后 就访问不到了
数据库里的serviceconfig里的eureka也配置了外网的地址
stevenliuit commented
如果去掉
UAT_URL: http://www.baidu.com:8082
DEV_URL: http://www.baidu.com:8080
FAT_URL: http://www.baidu.com:8081
PRO_URL: http://www.baidu.com:8083
这四个参数就ok
stevenliuit commented
然后项目访问报错Get config services failed from http://www.baidu.com8080/services/config?appId=tech&ip=10.67.141.32 [Cause: Could not complete get operation [Cause: Connection refused]]
stevenliuit commented
用DEV_LB 配置eureka外网地址 完美解决