Gemerl 2022-09-04 14:12 采纳率: 100%
浏览 33
已结题

eureka客户端启动成功无法访问

eureka客户端配置

application.yml

eureka:
  client:
    serviceUrl:
      defaultZone: http://localhost:520/eureka/
server:
  port: 6666
spring:
  application:
    name: lookyou-eureka-client

pom.xml

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <artifactId>lookyou-cloud</artifactId>
        <groupId>net.lookyou.cloud</groupId>
        <version>1.0-SNAPSHOT</version>
    </parent>


    <groupId>net.lookyou.cloud</groupId>
    <artifactId>lookyou-cloud-eureka-client</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <name>lookyou-cloud-eureka-client</name>
    <description>lookyou-cloud-eureka-client</description>

    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

</project>

启动类

package net.lookyou.eureka.client;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@EnableEurekaClient
@SpringBootApplication
public class EurekaClientApplication {

    public static void main(String[] args) {
        SpringApplication.run(EurekaClientApplication.class, args);
    }


    @Value("${server.port}")
    String port;

    @RequestMapping("/hi")
    public String home(@RequestParam(value = "name", defaultValue = "forezp") String name) {
        return "hi " + name + " ,i am from port:" + port;
    }

}

项目启动成功:

D:\Develop\jdk1.8.0.151\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:63553,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -javaagent:C:\Users\asus\AppData\Local\JetBrains\IntelliJIdea2021.3\captureAgent\debugger-agent.jar -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath "D:\Develop\jdk1.8.0.151\jre\lib\charsets.jar;D:\Develop\jdk1.8.0.151\jre\lib\deploy.jar;D:\Develop\jdk1.8.0.151\jre\lib\ext\access-bridge-64.jar;D:\Develop\jdk1.8.0.151\jre\lib\ext\cldrdata.jar;D:\Develop\jdk1.8.0.151\jre\lib\ext\dnsns.jar;D:\Develop\jdk1.8.0.151\jre\lib\ext\jaccess.jar;D:\Develop\jdk1.8.0.151\jre\lib\ext\jfxrt.jar;D:\Develop\jdk1.8.0.151\jre\lib\ext\localedata.jar;D:\Develop\jdk1.8.0.151\jre\lib\ext\nashorn.jar;D:\Develop\jdk1.8.0.151\jre\lib\ext\sunec.jar;D:\Develop\jdk1.8.0.151\jre\lib\ext\sunjce_provider.jar;D:\Develop\jdk1.8.0.151\jre\lib\ext\sunmscapi.jar;D:\Develop\jdk1.8.0.151\jre\lib\ext\sunpkcs11.jar;D:\Develop\jdk1.8.0.151\jre\lib\ext\zipfs.jar;D:\Develop\jdk1.8.0.151\jre\lib\javaws.jar;D:\Develop\jdk1.8.0.151\jre\lib\jce.jar;D:\Develop\jdk1.8.0.151\jre\lib\jfr.jar;D:\Develop\jdk1.8.0.151\jre\lib\jfxswt.jar;D:\Develop\jdk1.8.0.151\jre\lib\jsse.jar;D:\Develop\jdk1.8.0.151\jre\lib\management-agent.jar;D:\Develop\jdk1.8.0.151\jre\lib\plugin.jar;D:\Develop\jdk1.8.0.151\jre\lib\resources.jar;D:\Develop\jdk1.8.0.151\jre\lib\rt.jar;E:\DvWrok\springcloud\eureka-client\target\classes;D:\Develop\apache-maven-3.8.4\repository\org\springframework\cloud\spring-cloud-starter-netflix-eureka-client\3.1.3\spring-cloud-starter-netflix-eureka-client-3.1.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\cloud\spring-cloud-starter\3.1.3\spring-cloud-starter-3.1.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\cloud\spring-cloud-context\3.1.3\spring-cloud-context-3.1.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\security\spring-security-crypto\5.7.3\spring-security-crypto-5.7.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\cloud\spring-cloud-commons\3.1.3\spring-cloud-commons-3.1.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\security\spring-security-rsa\1.0.10.RELEASE\spring-security-rsa-1.0.10.RELEASE.jar;D:\Develop\apache-maven-3.8.4\repository\org\bouncycastle\bcpkix-jdk15on\1.68\bcpkix-jdk15on-1.68.jar;D:\Develop\apache-maven-3.8.4\repository\org\bouncycastle\bcprov-jdk15on\1.68\bcprov-jdk15on-1.68.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\cloud\spring-cloud-netflix-eureka-client\3.1.3\spring-cloud-netflix-eureka-client-3.1.3.jar;D:\Develop\apache-maven-3.8.4\repository\com\netflix\eureka\eureka-client\1.10.17\eureka-client-1.10.17.jar;D:\Develop\apache-maven-3.8.4\repository\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;D:\Develop\apache-maven-3.8.4\repository\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;D:\Develop\apache-maven-3.8.4\repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;D:\Develop\apache-maven-3.8.4\repository\joda-time\joda-time\2.3\joda-time-2.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;D:\Develop\apache-maven-3.8.4\repository\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;D:\Develop\apache-maven-3.8.4\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;D:\Develop\apache-maven-3.8.4\repository\com\google\code\gson\gson\2.9.1\gson-2.9.1.jar;D:\Develop\apache-maven-3.8.4\repository\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;D:\Develop\apache-maven-3.8.4\repository\com\thoughtworks\xstream\xstream\1.4.18\xstream-1.4.18.jar;D:\Develop\apache-maven-3.8.4\repository\io\github\x-stream\mxparser\1.2.2\mxparser-1.2.2.jar;D:\Develop\apache-maven-3.8.4\repository\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;D:\Develop\apache-maven-3.8.4\repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;D:\Develop\apache-maven-3.8.4\repository\com\netflix\servo\servo-core\0.12.21\servo-core-0.12.21.jar;D:\Develop\apache-maven-3.8.4\repository\com\google\guava\guava\19.0\guava-19.0.jar;D:\Develop\apache-maven-3.8.4\repository\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;D:\Develop\apache-maven-3.8.4\repository\org\apache\httpcomponents\httpcore\4.4.15\httpcore-4.4.15.jar;D:\Develop\apache-maven-3.8.4\repository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;D:\Develop\apache-maven-3.8.4\repository\commons-configuration\commons-configuration\1.10\commons-configuration-1.10.jar;D:\Develop\apache-maven-3.8.4\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\Develop\apache-maven-3.8.4\repository\com\google\inject\guice\4.1.0\guice-4.1.0.jar;D:\Develop\apache-maven-3.8.4\repository\javax\inject\javax.inject\1\javax.inject-1.jar;D:\Develop\apache-maven-3.8.4\repository\com\fasterxml\jackson\core\jackson-annotations\2.13.3\jackson-annotations-2.13.3.jar;D:\Develop\apache-maven-3.8.4\repository\com\fasterxml\jackson\core\jackson-core\2.13.3\jackson-core-2.13.3.jar;D:\Develop\apache-maven-3.8.4\repository\com\fasterxml\jackson\core\jackson-databind\2.13.3\jackson-databind-2.13.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\codehaus\jettison\jettison\1.4.0\jettison-1.4.0.jar;D:\Develop\apache-maven-3.8.4\repository\com\netflix\eureka\eureka-core\1.10.17\eureka-core-1.10.17.jar;D:\Develop\apache-maven-3.8.4\repository\com\fasterxml\woodstox\woodstox-core\6.2.1\woodstox-core-6.2.1.jar;D:\Develop\apache-maven-3.8.4\repository\org\codehaus\woodstox\stax2-api\4.2.1\stax2-api-4.2.1.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\cloud\spring-cloud-starter-loadbalancer\3.1.3\spring-cloud-starter-loadbalancer-3.1.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\cloud\spring-cloud-loadbalancer\3.1.3\spring-cloud-loadbalancer-3.1.3.jar;D:\Develop\apache-maven-3.8.4\repository\io\projectreactor\reactor-core\3.4.22\reactor-core-3.4.22.jar;D:\Develop\apache-maven-3.8.4\repository\org\reactivestreams\reactive-streams\1.0.4\reactive-streams-1.0.4.jar;D:\Develop\apache-maven-3.8.4\repository\io\projectreactor\addons\reactor-extra\3.4.8\reactor-extra-3.4.8.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\boot\spring-boot-starter-cache\2.7.3\spring-boot-starter-cache-2.7.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\spring-context-support\5.3.22\spring-context-support-5.3.22.jar;D:\Develop\apache-maven-3.8.4\repository\com\stoyanr\evictor\1.0.0\evictor-1.0.0.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\boot\spring-boot-starter-web\2.7.3\spring-boot-starter-web-2.7.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\boot\spring-boot-starter-json\2.7.3\spring-boot-starter-json-2.7.3.jar;D:\Develop\apache-maven-3.8.4\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.3\jackson-datatype-jdk8-2.13.3.jar;D:\Develop\apache-maven-3.8.4\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.3\jackson-datatype-jsr310-2.13.3.jar;D:\Develop\apache-maven-3.8.4\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.3\jackson-module-parameter-names-2.13.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\boot\spring-boot-starter-tomcat\2.7.3\spring-boot-starter-tomcat-2.7.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.65\tomcat-embed-core-9.0.65.jar;D:\Develop\apache-maven-3.8.4\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.65\tomcat-embed-el-9.0.65.jar;D:\Develop\apache-maven-3.8.4\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.65\tomcat-embed-websocket-9.0.65.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\spring-web\5.3.22\spring-web-5.3.22.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\spring-beans\5.3.22\spring-beans-5.3.22.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\spring-webmvc\5.3.22\spring-webmvc-5.3.22.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\spring-aop\5.3.22\spring-aop-5.3.22.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\spring-context\5.3.22\spring-context-5.3.22.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\spring-expression\5.3.22\spring-expression-5.3.22.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\boot\spring-boot-starter\2.7.3\spring-boot-starter-2.7.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\boot\spring-boot\2.7.3\spring-boot-2.7.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\boot\spring-boot-autoconfigure\2.7.3\spring-boot-autoconfigure-2.7.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\boot\spring-boot-starter-logging\2.7.3\spring-boot-starter-logging-2.7.3.jar;D:\Develop\apache-maven-3.8.4\repository\ch\qos\logback\logback-classic\1.2.11\logback-classic-1.2.11.jar;D:\Develop\apache-maven-3.8.4\repository\ch\qos\logback\logback-core\1.2.11\logback-core-1.2.11.jar;D:\Develop\apache-maven-3.8.4\repository\org\apache\logging\log4j\log4j-to-slf4j\2.17.2\log4j-to-slf4j-2.17.2.jar;D:\Develop\apache-maven-3.8.4\repository\org\apache\logging\log4j\log4j-api\2.17.2\log4j-api-2.17.2.jar;D:\Develop\apache-maven-3.8.4\repository\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;D:\Develop\apache-maven-3.8.4\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\spring-core\5.3.22\spring-core-5.3.22.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\spring-jcl\5.3.22\spring-jcl-5.3.22.jar;D:\Develop\apache-maven-3.8.4\repository\org\yaml\snakeyaml\1.30\snakeyaml-1.30.jar;D:\Develop\apache-maven-3.8.4\repository\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\boot\spring-boot-starter-actuator\2.7.3\spring-boot-starter-actuator-2.7.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.7.3\spring-boot-actuator-autoconfigure-2.7.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\springframework\boot\spring-boot-actuator\2.7.3\spring-boot-actuator-2.7.3.jar;D:\Develop\apache-maven-3.8.4\repository\io\micrometer\micrometer-core\1.9.3\micrometer-core-1.9.3.jar;D:\Develop\apache-maven-3.8.4\repository\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;D:\Develop\apache-maven-3.8.4\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;D:\Program Files (x86)\IntelliJ IDEA 2021.3\lib\idea_rt.jar" net.lookyou.eureka.client.EurekaClientApplication
Connected to the target VM, address: '127.0.0.1:63553', transport: 'socket'

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v2.7.3)

2022-09-04 13:44:39.638  INFO 16112 --- [           main] n.l.e.client.EurekaClientApplication     : Starting EurekaClientApplication using Java 1.8.0_151 on Gemerl with PID 16112 (E:\DvWrok\springcloud\eureka-client\target\classes started by Gemerl in E:\DvWrok\springcloud)
2022-09-04 13:44:39.641  INFO 16112 --- [           main] n.l.e.client.EurekaClientApplication     : No active profile set, falling back to 1 default profile: "default"
2022-09-04 13:44:40.536  INFO 16112 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=1eec2243-4656-3266-aaa1-a8c9479fc668
2022-09-04 13:44:40.800  INFO 16112 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 6666 (http)
2022-09-04 13:44:40.808  INFO 16112 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2022-09-04 13:44:40.809  INFO 16112 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.65]
2022-09-04 13:44:40.925  INFO 16112 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2022-09-04 13:44:40.925  INFO 16112 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1238 ms
2022-09-04 13:44:44.149  INFO 16112 --- [           main] DiscoveryClientOptionalArgsConfiguration : Eureka HTTP Client uses RestTemplate.
2022-09-04 13:44:44.201  WARN 16112 --- [           main] iguration$LoadBalancerCaffeineWarnLogger : Spring Cloud LoadBalancer is currently working with the default cache. While this cache implementation is useful for development and tests, it's recommended to use Caffeine cache in production.You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
2022-09-04 13:44:44.206  INFO 16112 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint(s) beneath base path '/actuator'
2022-09-04 13:44:44.269  INFO 16112 --- [           main] o.s.c.n.eureka.InstanceInfoFactory       : Setting initial instance status as: STARTING
2022-09-04 13:44:44.297  INFO 16112 --- [           main] com.netflix.discovery.DiscoveryClient    : Initializing Eureka in region us-east-1
2022-09-04 13:44:44.302  INFO 16112 --- [           main] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration
2022-09-04 13:44:44.320  INFO 16112 --- [           main] com.netflix.discovery.DiscoveryClient    : Disable delta property : false
2022-09-04 13:44:44.320  INFO 16112 --- [           main] com.netflix.discovery.DiscoveryClient    : Single vip registry refresh property : null
2022-09-04 13:44:44.320  INFO 16112 --- [           main] com.netflix.discovery.DiscoveryClient    : Force full registry fetch : false
2022-09-04 13:44:44.320  INFO 16112 --- [           main] com.netflix.discovery.DiscoveryClient    : Application is null : false
2022-09-04 13:44:44.320  INFO 16112 --- [           main] com.netflix.discovery.DiscoveryClient    : Registered Applications size is zero : true
2022-09-04 13:44:44.321  INFO 16112 --- [           main] com.netflix.discovery.DiscoveryClient    : Application version is -1: true
2022-09-04 13:44:44.321  INFO 16112 --- [           main] com.netflix.discovery.DiscoveryClient    : Getting all instance registry info from the eureka server
2022-09-04 13:44:45.294  INFO 16112 --- [           main] com.netflix.discovery.DiscoveryClient    : The response status is 200
2022-09-04 13:44:45.297  INFO 16112 --- [           main] com.netflix.discovery.DiscoveryClient    : Starting heartbeat executor: renew interval is: 30
2022-09-04 13:44:45.299  INFO 16112 --- [           main] c.n.discovery.InstanceInfoReplicator     : InstanceInfoReplicator onDemand update allowed rate per min is 4
2022-09-04 13:44:45.303  INFO 16112 --- [           main] com.netflix.discovery.DiscoveryClient    : Discovery Client initialized at timestamp 1662270285303 with initial instances count: 1
2022-09-04 13:44:45.304  INFO 16112 --- [           main] o.s.c.n.e.s.EurekaServiceRegistry        : Registering application LOOKYOU-EUREKA-CLIENT with eureka with status UP
2022-09-04 13:44:45.305  INFO 16112 --- [           main] com.netflix.discovery.DiscoveryClient    : Saw local status change event StatusChangeEvent [timestamp=1662270285305, current=UP, previous=STARTING]
2022-09-04 13:44:45.307  INFO 16112 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_LOOKYOU-EUREKA-CLIENT/Gemerl:lookyou-eureka-client:6666: registering service...
2022-09-04 13:44:45.330  INFO 16112 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 6666 (http) with context path ''
2022-09-04 13:44:45.331  INFO 16112 --- [           main] .s.c.n.e.s.EurekaAutoServiceRegistration : Updating port to 6666
2022-09-04 13:44:45.357  INFO 16112 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_LOOKYOU-EUREKA-CLIENT/Gemerl:lookyou-eureka-client:6666 - registration status: 204
2022-09-04 13:44:46.689  INFO 16112 --- [           main] n.l.e.client.EurekaClientApplication     : Started EurekaClientApplication in 8.895 seconds (JVM running for 10.473)
2022-09-04 13:44:47.861  INFO 16112 --- [)-192.168.1.105] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-09-04 13:44:47.861  INFO 16112 --- [)-192.168.1.105] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2022-09-04 13:44:47.862  INFO 16112 --- [)-192.168.1.105] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
2022-09-04 13:49:44.334  INFO 16112 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration
2022-09-04 13:54:44.348  INFO 16112 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration
2022-09-04 13:59:44.356  INFO 16112 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration
2022-09-04 14:04:44.365  INFO 16112 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration

 访问客户端  http://localhost:6666/hi?name=forezp

无法访问此网站

网址为 http://localhost:6666/hi?name=forezp 的网页可能暂时无法连接,或者它已永久性地移动到了新网址。

  • 写回答

4条回答 默认 最新

  • Gemerl 2022-09-05 07:37
    关注

    谢谢,大家!eureka-client我重新建了model
    可以正常访问。有可能maven没有重新打包吧!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

问题事件

  • 系统已结题 9月13日
  • 已采纳回答 9月5日
  • 创建了问题 9月4日

悬赏问题

  • ¥15 BDSBAS-B1C和B1C信号有什么不同
  • ¥15 在半圆平面内随机生成点坐标
  • ¥15 系统容量变化的几种多址方式TDMA, CDMA,FDMA,OFDMA 对比,应该给的是一个曲线 图,随着系统容量的增加,几种多址方式性能的对比 图,MATLAB程序仿真折线图
  • ¥15 用visual Studio 写c ++只运行上一个旧代码的运行结果是怎么回事
  • ¥15 系统容量变化的几种多址方式(TDMA,FDMA,OFDMA,CDMA)对比(相关搜索:曲线图)
  • ¥15 worldclim 历史及未来气候数据矫正
  • ¥15 ajax服务器不能下载
  • ¥15 运用c++和opencv实现二维码的识别和三维坐标的建立
  • ¥100 理想汽车的ADB为什么到了国外换了SIM就可以打开?
  • ¥15 k210烧入flash报错error:2005