diff --git a/Chapter9-1-1/eureka-server/src/main/resources/application.properties b/Chapter9-1-1/eureka-server/src/main/resources/application.properties index 85cfe39..8dad723 100644 --- a/Chapter9-1-1/eureka-server/src/main/resources/application.properties +++ b/Chapter9-1-1/eureka-server/src/main/resources/application.properties @@ -1,6 +1,6 @@ -server.port=8761 - +server.port=1111 #eureka.instance.hostname=localhost eureka.client.register-with-eureka=false -eureka.client.fetch-registry=false \ No newline at end of file +eureka.client.fetch-registry=false +eureka.client.serviceUrl.defaultZone=http://localhost:${server.port}/eureka/ \ No newline at end of file