有一個尤里卡Server應用程序:春天尤里卡應用程序不顯示儀表板
@EnableEurekaServer
@SpringBootApplication
public class RegistrationModulesServiceApplication {
public static void main(String[] args) {
SpringApplication.run(RegistrationModulesServiceApplication.class, args);
}
}
隨着applicaton.yml配置(是默認):
eureka:
instance:
hostname: localhost
client:
registerWithEureka: false
fetchRegistry: false
server:
port: 1111
爲什麼?
日誌中沒有錯誤。