We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74df9c0 commit 6a2c2b0Copy full SHA for 6a2c2b0
1 file changed
DiscoveryServer/src/main/resources/application.yml
@@ -12,3 +12,6 @@ eureka:
12
defaultZone: ${EUREKA_SERVER_URL:http://localhost:8761/eureka/}
13
register-with-eureka: false
14
fetch-registry: false
15
+ instance:
16
+ prefer-ip-address: true
17
+ instance-id: ${spring.application.name}:${server.port}
0 commit comments