Spring cloud SpringCloud读取超时

Spring cloud SpringCloud读取超时,spring-cloud,netflix-eureka,netflix-ribbon,Spring Cloud,Netflix Eureka,Netflix Ribbon,我想完成spring cloud分布式网站建设,但我无法完成Eureka客户端到Euerka服务器的注册。我有一个关于春云的问题。我启动了三个Eureka群集服务,然后启动了一个Eureka客户端。在其中一个Eureka服务器中引发读取超时异常 这是我的Eureka客户的创业课程 @SpringBootApplication @EnableEurekaClient public class DeptProvider8001_App { public static void ma

我想完成spring cloud分布式网站建设,但我无法完成Eureka客户端到Euerka服务器的注册。我有一个关于春云的问题。我启动了三个Eureka群集服务,然后启动了一个Eureka客户端。在其中一个Eureka服务器中引发读取超时异常

这是我的Eureka客户的创业课程

@SpringBootApplication
@EnableEurekaClient     
public class DeptProvider8001_App {
    public static void main(String[] args) {
        SpringApplication.run(DeptProvider8001_App.class, args);
    }
}
@SpringBootApplication
@EnableEurekaServer     
public class EurekaServer7001_App {
    public static void main(String[] args) {
        SpringApplication.run(EurekaServer7001_App.class, args);
    }
}
这是我的Eureka服务器的启动类

@SpringBootApplication
@EnableEurekaClient     
public class DeptProvider8001_App {
    public static void main(String[] args) {
        SpringApplication.run(DeptProvider8001_App.class, args);
    }
}
@SpringBootApplication
@EnableEurekaServer     
public class EurekaServer7001_App {
    public static void main(String[] args) {
        SpringApplication.run(EurekaServer7001_App.class, args);
    }
}
这些是我的eureka服务器应用程序.xml

eureka:
  #server:
    #enable-self-preservation: false    
  instance:
     hostname: eureka7001.com      
  client:
    register-with-eureka: false   
    fetch-registry: false       
    service-url:
      defaultZone: 
http://eureka7002.com:7002/eureka/,http://eureka7003.com:7003/eureka/
spring:
  application:
   name: eureka-server
eureka:
  client:       
    service-url:
     defaultZone: 

 http://eureka7001.com:7001/eureka/,http://eureka7002.com:7002/eureka/,http://eureka7003.com:7003/eureka/
      instance:       
        instance-id: microservicecloud-dept8001
        prefer-ip-address: true  
这些是我的eureka客户端应用程序.xml

eureka:
  #server:
    #enable-self-preservation: false    
  instance:
     hostname: eureka7001.com      
  client:
    register-with-eureka: false   
    fetch-registry: false       
    service-url:
      defaultZone: 
http://eureka7002.com:7002/eureka/,http://eureka7003.com:7003/eureka/
spring:
  application:
   name: eureka-server
eureka:
  client:       
    service-url:
     defaultZone: 

 http://eureka7001.com:7001/eureka/,http://eureka7002.com:7002/eureka/,http://eureka7003.com:7003/eureka/
      instance:       
        instance-id: microservicecloud-dept8001
        prefer-ip-address: true  
错误日志

@SpringBootApplication
@EnableEurekaClient     
public class DeptProvider8001_App {
    public static void main(String[] args) {
        SpringApplication.run(DeptProvider8001_App.class, args);
    }
}
@SpringBootApplication
@EnableEurekaServer     
public class EurekaServer7001_App {
    public static void main(String[] args) {
        SpringApplication.run(EurekaServer7001_App.class, args);
    }
}
com.sun.jersey.api.client.clienthandler例外: java.net.SocketTimeoutException:读取超时