springcloud报错Cannot execute request on any known server

启动springcloud服务中心,提示这个错误:Cannot execute request on any known server

网上一般说是修改application.properties配置文件,添加如下内容:

eureka.client.registerWithEureka:false
eureka.client.fetchRegistry:false

看了一下,我是有这些内容的。然后就各种折腾,后来把端口号从8080改成8088就可以了,昨天用8080还是好的,端口被占用了?好像也没有。先不管它了,能启动就行~~

原文地址:https://www.cnblogs.com/modou/p/10361916.html

时间: 2024-07-31 11:07:15

springcloud报错Cannot execute request on any known server的相关文章

SpringCloud报错:com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server

启动SpringCloudEureka 报错:com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server 解决方法: 先仔细检查,指定的注册中心 eureka.client.serviceUrl.defaultZone的地址是否正确,端口号有没有写错.然后,在application.yml 添加以下配置: #Eureka服务注册中心也会将自己作为客户端来

携程apollo源码在idea中启动报错TransportException: Cannot execute request on any known server

com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: connect at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187) at com.sun.jersey.api.client.filter.GZIPConte

关于Eureka客户端连接服务端报错问题Cannot execute request on any known server

对于Eureka包这个错误问题:Cannot execute request on any known server,总的原因就是连接Eureka连接服务端的Url地址不对,Url地址不对很很多情况. 一.比如服务端自己连接自己报错,也就是说你可能忘记在eureka服务中配置如下代码. 默认都是开启的. eureka.client.registerWithEureka=false eureka.client.fetchRegistry=false 二.可能是你的配置的去服务注册中心的地址写错了.

eureka server 集成security,eureka client报错com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server

当前Spring Coud 版本(Greenwich.SR2)  Spring Boot版本 (2.1.6.RELEASE) 在eureka server 中集成security后,发现eureka client 去注册的时候报以下错误: ----------------------------------------------------------------------------------------------------------------------------------

(SpringMVC)报错:The request sent by the client was syntactically incorrect ()

springMVC数据绑定,对我们而言,能够更轻松的获取页面的数据,但是必须要注意的一点就是: Controller方法中的参数名和jsp页面里的参数名字是否一致或者按照绑定的规范来写 在Controller中@RequestParam("m_level") Integer m_level 那么在jsp页面上的数据 <select name="m_level"> <option value="一级">一级</opti

SpringCloud报错:Caused by: org.springframework.context.ApplicationContextException: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.

今天启动用eureka的服务消费者时,一直出现问题. SpringCloud报错: Caused by: org.springframework.context.ApplicationContextException: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean. 解决方案: 网上的解决方案大多如下: 1.在main()方法的启动类的上方添加注解

https网站访问第三方https网站时候报错: The request was aborted:Could not create SSL/TLS secure channel.

https网站访问第三方https网站时候报错: The request was aborted:Could not create SSL/TLS secure channel. 解决办法: if(Url.StartsWith("https",StringComparison.OrdinalIgnoreCase))//https请求 { ServicePointManager.Expect100Continue = true; //如果是4.5以上版本可以直接使用 //ServiceP

客户端注册Cannot execute request on any known server解决

在对eureka注册中心服务端添加安全验证后,新版本springcloud出现一个问题就是,在客户端注册到服务中心时报了一个错:Cannot execute request on any known server,重新仔细看了一下官方文档Securing The Eureka Server部分得以解决. 添加安全验证:https://www.cnblogs.com/zrk3/p/springcloud_securing_eurekaserver.html 一.官方文档 url: https://

httpd启动报错httpd: Could not reliably determine the server&#39;s fully qualified domain name

安装完apache-httpd后,启动时报错如下: [[email protected] app]# service httpd start Starting httpd: httpd: apr_sockaddr_info_get() failed for ppt httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName  [  OK