Spring boot 无法部署我的第一个Azure Spring云应用程序
我正在尝试在Azure Spring Cloud中快速启动Spring Boot 我下载了带有相关JAR的spring starter,但当它启动时,我会遇到一系列错误Spring boot 无法部署我的第一个Azure Spring云应用程序,spring-boot,azure-spring-cloud,azure-java-tools,azure-spring-boot,Spring Boot,Azure Spring Cloud,Azure Java Tools,Azure Spring Boot,我正在尝试在Azure Spring Cloud中快速启动Spring Boot 我下载了带有相关JAR的spring starter,但当它启动时,我会遇到一系列错误 Getting all instance registry info from the eureka server 2020-10-08 23:20:47.012 ERROR [,,,] 32573 --- [ main] c.n.d.s.t.d.RedirectingEurekaHttpClient :
Getting all instance registry info from the eureka server
2020-10-08 23:20:47.012 ERROR [,,,] 32573 --- [ main] c.n.d.s.t.d.RedirectingEurekaHttpClient : Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://localhost:8761/eureka/}
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused
at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187) ~[jersey-apache-client4-1.19.1.jar:1.19.1]
at com.sun.jersey.api.client.filter.GZIPContentEncodingFilter.handle(GZIPContentEncodingFilter.java:123) ~[jersey-client-1.19.1.jar:1.19.1]
at com.netflix.discovery.EurekaIdentityHeaderFilter.handle(EurekaIdentityHeaderFilter.java:27) ~[eureka-client-1.9.25.jar:1.9.25]
我如何阻止这种情况发生,有没有人使用过Microsoft Spring Boot Quickstart?是否尝试在本地运行该应用程序?如果是这种情况,则会出现此错误,因为无法从您的开发人员计算机访问Azure Spring Cloud托管的eureka服务器。请将应用部署到Azure Spring云