Skip to content

Commit

Permalink
解决Socket对外服务IP不对的问题 zookeeper
Browse files Browse the repository at this point in the history
Change-Id: Icee8c98a8cd7b4f5a2fe7cb9674a936d6029523b
  • Loading branch information
honglong.zhang committed Feb 24, 2018
1 parent 95e83d7 commit 08b562a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tx-manager/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ spring.resources.static-locations=classpath:/static/


#zookeeper地址
#spring.cloud.zookeeper.connect-string=127.0.0.1:2181
spring.cloud.zookeeper.connect-string=172.30.77.101:2181
spring.cloud.zookeeper.discovery.preferIpAddress = true

#eureka 地址
eureka.client.service-url.defaultZone=http://127.0.0.1:8761/eureka/
eureka.instance.prefer-ip-address=true
#eureka.client.service-url.defaultZone=http://127.0.0.1:8761/eureka/
#eureka.instance.prefer-ip-address=true

#######################################redis-start#################################################
#redis 配置文件,根据情况选择集群或者单机模式
Expand Down

0 comments on commit 08b562a

Please sign in to comment.