91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

在用Spring boot搭建項目的時候出現 “無法訪問此網站“ 是什么情況

發布時間:2021-09-07 07:38:39 來源:億速云 閱讀:214 作者:chen 欄目:編程語言

這篇文章主要講解了“在用Spring boot搭建項目的時候出現 “無法訪問此網站“ 是什么情況”,文中的講解內容簡單清晰,易于學習與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學習“在用Spring boot搭建項目的時候出現 “無法訪問此網站“ 是什么情況”吧!

在用Spring boot 搭建項目的時候,也是按照往常的步驟搭建的,但是依然訪問的時候出現”無法訪問此網站“ 的問題。并且項目啟動是正常的。

我的啟動信息:

"E:\Program Files\Java\jdk1.8.0_171\bin\java" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:57206,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=57205 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath "E:\Program Files\Java\jdk1.8.0_171\jre\lib\charsets.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\deploy.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\access-bridge-64.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\cldrdata.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\dnsns.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\jaccess.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\jfxrt.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\localedata.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\nashorn.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\sunec.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\sunjce_provider.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\sunmscapi.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\sunpkcs11.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\zipfs.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\javaws.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\jce.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\jfr.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\jfxswt.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\jsse.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\management-agent.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\plugin.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\resources.jar;E:\Program Files\Java\jdk1.8.0_171\jre\lib\rt.jar;E:\workspace\spring-cloud-demo\eureka-server-demo\target\classes;E:\maven\repository\org\springframework\cloud\spring-cloud-starter-netflix-eureka-server\2.1.2.RELEASE\spring-cloud-starter-netflix-eureka-server-2.1.2.RELEASE.jar;E:\maven\repository\org\springframework\cloud\spring-cloud-starter\2.1.2.RELEASE\spring-cloud-starter-2.1.2.RELEASE.jar;E:\maven\repository\org\springframework\cloud\spring-cloud-context\2.1.2.RELEASE\spring-cloud-context-2.1.2.RELEASE.jar;E:\maven\repository\org\springframework\security\spring-security-crypto\5.1.5.RELEASE\spring-security-crypto-5.1.5.RELEASE.jar;E:\maven\repository\org\springframework\cloud\spring-cloud-commons\2.1.2.RELEASE\spring-cloud-commons-2.1.2.RELEASE.jar;E:\maven\repository\org\springframework\security\spring-security-rsa\1.0.7.RELEASE\spring-security-rsa-1.0.7.RELEASE.jar;E:\maven\repository\org\bouncycastle\bcpkix-jdk15on\1.60\bcpkix-jdk15on-1.60.jar;E:\maven\repository\org\bouncycastle\bcprov-jdk15on\1.60\bcprov-jdk15on-1.60.jar;E:\maven\repository\org\springframework\cloud\spring-cloud-netflix-eureka-server\2.1.2.RELEASE\spring-cloud-netflix-eureka-server-2.1.2.RELEASE.jar;E:\maven\repository\org\springframework\boot\spring-boot-starter-web\2.1.6.RELEASE\spring-boot-starter-web-2.1.6.RELEASE.jar;E:\maven\repository\org\springframework\boot\spring-boot-starter-json\2.1.6.RELEASE\spring-boot-starter-json-2.1.6.RELEASE.jar;E:\maven\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.9\jackson-datatype-jdk8-2.9.9.jar;E:\maven\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.9\jackson-datatype-jsr310-2.9.9.jar;E:\maven\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.9\jackson-module-parameter-names-2.9.9.jar;E:\maven\repository\org\springframework\boot\spring-boot-starter-tomcat\2.1.6.RELEASE\spring-boot-starter-tomcat-2.1.6.RELEASE.jar;E:\maven\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.21\tomcat-embed-core-9.0.21.jar;E:\maven\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.21\tomcat-embed-el-9.0.21.jar;E:\maven\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.21\tomcat-embed-websocket-9.0.21.jar;E:\maven\repository\org\hibernate\validator\hibernate-validator\6.0.17.Final\hibernate-validator-6.0.17.Final.jar;E:\maven\repository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;E:\maven\repository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;E:\maven\repository\com\fasterxml\classmate\1.4.0\classmate-1.4.0.jar;E:\maven\repository\org\springframework\spring-web\5.1.8.RELEASE\spring-web-5.1.8.RELEASE.jar;E:\maven\repository\org\springframework\spring-beans\5.1.8.RELEASE\spring-beans-5.1.8.RELEASE.jar;E:\maven\repository\org\springframework\spring-webmvc\5.1.8.RELEASE\spring-webmvc-5.1.8.RELEASE.jar;E:\maven\repository\org\springframework\spring-aop\5.1.8.RELEASE\spring-aop-5.1.8.RELEASE.jar;E:\maven\repository\org\springframework\spring-expression\5.1.8.RELEASE\spring-expression-5.1.8.RELEASE.jar;E:\maven\repository\org\springframework\boot\spring-boot-starter-actuator\2.1.6.RELEASE\spring-boot-starter-actuator-2.1.6.RELEASE.jar;E:\maven\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.1.6.RELEASE\spring-boot-actuator-autoconfigure-2.1.6.RELEASE.jar;E:\maven\repository\org\springframework\boot\spring-boot-actuator\2.1.6.RELEASE\spring-boot-actuator-2.1.6.RELEASE.jar;E:\maven\repository\io\micrometer\micrometer-core\1.1.5\micrometer-core-1.1.5.jar;E:\maven\repository\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;E:\maven\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;E:\maven\repository\org\springframework\boot\spring-boot-starter-freemarker\2.1.6.RELEASE\spring-boot-starter-freemarker-2.1.6.RELEASE.jar;E:\maven\repository\org\freemarker\freemarker\2.3.28\freemarker-2.3.28.jar;E:\maven\repository\org\springframework\spring-context-support\5.1.8.RELEASE\spring-context-support-5.1.8.RELEASE.jar;E:\maven\repository\org\springframework\cloud\spring-cloud-netflix-hystrix\2.1.2.RELEASE\spring-cloud-netflix-hystrix-2.1.2.RELEASE.jar;E:\maven\repository\org\springframework\boot\spring-boot-starter-aop\2.1.6.RELEASE\spring-boot-starter-aop-2.1.6.RELEASE.jar;E:\maven\repository\org\aspectj\aspectjweaver\1.9.4\aspectjweaver-1.9.4.jar;E:\maven\repository\org\springframework\cloud\spring-cloud-netflix-eureka-client\2.1.2.RELEASE\spring-cloud-netflix-eureka-client-2.1.2.RELEASE.jar;E:\maven\repository\com\netflix\eureka\eureka-client\1.9.12\eureka-client-1.9.12.jar;E:\maven\repository\org\codehaus\jettison\jettison\1.3.7\jettison-1.3.7.jar;E:\maven\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;E:\maven\repository\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;E:\maven\repository\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;E:\maven\repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;E:\maven\repository\joda-time\joda-time\2.10.2\joda-time-2.10.2.jar;E:\maven\repository\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;E:\maven\repository\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;E:\maven\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;E:\maven\repository\com\google\code\gson\gson\2.8.5\gson-2.8.5.jar;E:\maven\repository\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;E:\maven\repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;E:\maven\repository\com\netflix\servo\servo-core\0.12.21\servo-core-0.12.21.jar;E:\maven\repository\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;E:\maven\repository\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;E:\maven\repository\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;E:\maven\repository\org\apache\httpcomponents\httpclient\4.5.9\httpclient-4.5.9.jar;E:\maven\repository\org\apache\httpcomponents\httpcore\4.4.11\httpcore-4.4.11.jar;E:\maven\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;E:\maven\repository\com\google\inject\guice\4.1.0\guice-4.1.0.jar;E:\maven\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;E:\maven\repository\com\github\vlsi\compactmap\compactmap\1.2.1\compactmap-1.2.1.jar;E:\maven\repository\com\github\andrewoma\dexx\dexx-collections\0.2\dexx-collections-0.2.jar;E:\maven\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;E:\maven\repository\com\fasterxml\jackson\core\jackson-core\2.9.9\jackson-core-2.9.9.jar;E:\maven\repository\com\fasterxml\jackson\core\jackson-databind\2.9.9\jackson-databind-2.9.9.jar;E:\maven\repository\com\sun\jersey\jersey-servlet\1.19.1\jersey-servlet-1.19.1.jar;E:\maven\repository\com\sun\jersey\jersey-server\1.19.1\jersey-server-1.19.1.jar;E:\maven\repository\com\netflix\eureka\eureka-core\1.9.12\eureka-core-1.9.12.jar;E:\maven\repository\com\fasterxml\woodstox\woodstox-core\5.0.3\woodstox-core-5.0.3.jar;E:\maven\repository\com\netflix\archaius\archaius-core\0.7.6\archaius-core-0.7.6.jar;E:\maven\repository\com\google\code\findbugs\jsr305\3.0.1\jsr305-3.0.1.jar;E:\maven\repository\com\google\guava\guava\16.0\guava-16.0.jar;E:\maven\repository\javax\inject\javax.inject\1\javax.inject-1.jar;E:\maven\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.9.9\jackson-dataformat-xml-2.9.9.jar;E:\maven\repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.9.9\jackson-module-jaxb-annotations-2.9.9.jar;E:\maven\repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;E:\maven\repository\com\thoughtworks\xstream\xstream\1.4.10\xstream-1.4.10.jar;E:\maven\repository\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;E:\maven\repository\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;E:\maven\repository\org\springframework\cloud\spring-cloud-starter-netflix-archaius\2.1.2.RELEASE\spring-cloud-starter-netflix-archaius-2.1.2.RELEASE.jar;E:\maven\repository\org\springframework\cloud\spring-cloud-netflix-ribbon\2.1.2.RELEASE\spring-cloud-netflix-ribbon-2.1.2.RELEASE.jar;E:\maven\repository\org\springframework\cloud\spring-cloud-netflix-archaius\2.1.2.RELEASE\spring-cloud-netflix-archaius-2.1.2.RELEASE.jar;E:\maven\repository\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;E:\maven\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;E:\maven\repository\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\2.1.2.RELEASE\spring-cloud-starter-netflix-ribbon-2.1.2.RELEASE.jar;E:\maven\repository\com\netflix\ribbon\ribbon\2.3.0\ribbon-2.3.0.jar;E:\maven\repository\com\netflix\ribbon\ribbon-transport\2.3.0\ribbon-transport-2.3.0.jar;E:\maven\repository\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;E:\maven\repository\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;E:\maven\repository\com\netflix\hystrix\hystrix-core\1.5.18\hystrix-core-1.5.18.jar;E:\maven\repository\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;E:\maven\repository\com\netflix\ribbon\ribbon-core\2.3.0\ribbon-core-2.3.0.jar;E:\maven\repository\com\netflix\ribbon\ribbon-httpclient\2.3.0\ribbon-httpclient-2.3.0.jar;E:\maven\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;E:\maven\repository\com\netflix\netflix-commons\netflix-commons-util\0.3.0\netflix-commons-util-0.3.0.jar;E:\maven\repository\com\netflix\ribbon\ribbon-loadbalancer\2.3.0\ribbon-loadbalancer-2.3.0.jar;E:\maven\repository\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;E:\maven\repository\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;E:\maven\repository\com\netflix\ribbon\ribbon-eureka\2.3.0\ribbon-eureka-2.3.0.jar;E:\maven\repository\org\slf4j\slf4j-api\1.7.26\slf4j-api-1.7.26.jar;E:\maven\repository\org\springframework\boot\spring-boot-starter\2.1.6.RELEASE\spring-boot-starter-2.1.6.RELEASE.jar;E:\maven\repository\org\springframework\boot\spring-boot\2.1.6.RELEASE\spring-boot-2.1.6.RELEASE.jar;E:\maven\repository\org\springframework\spring-context\5.1.8.RELEASE\spring-context-5.1.8.RELEASE.jar;E:\maven\repository\org\springframework\boot\spring-boot-autoconfigure\2.1.6.RELEASE\spring-boot-autoconfigure-2.1.6.RELEASE.jar;E:\maven\repository\org\springframework\boot\spring-boot-starter-logging\2.1.6.RELEASE\spring-boot-starter-logging-2.1.6.RELEASE.jar;E:\maven\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;E:\maven\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;E:\maven\repository\org\apache\logging\log4j\log4j-to-slf4j\2.11.2\log4j-to-slf4j-2.11.2.jar;E:\maven\repository\org\apache\logging\log4j\log4j-api\2.11.2\log4j-api-2.11.2.jar;E:\maven\repository\org\slf4j\jul-to-slf4j\1.7.26\jul-to-slf4j-1.7.26.jar;E:\maven\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;E:\maven\repository\org\yaml\snakeyaml\1.23\snakeyaml-1.23.jar;E:\maven\repository\org\springframework\spring-core\5.1.8.RELEASE\spring-core-5.1.8.RELEASE.jar;E:\maven\repository\org\springframework\spring-jcl\5.1.8.RELEASE\spring-jcl-5.1.8.RELEASE.jar;E:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\lib\idea_rt.jar" com.sg.eureka.server.EurekaServerDemoApplication
Connected to the target VM, address: '127.0.0.1:57206', transport: 'socket'
2019-08-06 18:04:16.156  INFO 17920 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$dc9dfac6] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

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

2019-08-06 18:04:17.849  INFO 17920 --- [           main] c.s.e.s.EurekaServerDemoApplication      : No active profile set, falling back to default profiles: default
2019-08-06 18:04:18.415  WARN 17920 --- [           main] o.s.boot.actuate.endpoint.EndpointId     : Endpoint ID 'service-registry' contains invalid characters, please migrate to a valid format.
2019-08-06 18:04:18.591  INFO 17920 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=3abfa9a6-f867-3961-8aab-27358dbf505b
2019-08-06 18:04:18.658  INFO 17920 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$dc9dfac6] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-08-06 18:04:18.865  INFO 17920 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 6000 (http)
2019-08-06 18:04:18.883  INFO 17920 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2019-08-06 18:04:18.883  INFO 17920 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.21]
2019-08-06 18:04:19.011  INFO 17920 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2019-08-06 18:04:19.011  INFO 17920 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 1151 ms
2019-08-06 18:04:19.103  WARN 17920 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.
2019-08-06 18:04:19.103  INFO 17920 --- [           main] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2019-08-06 18:04:19.112  INFO 17920 --- [           main] c.netflix.config.DynamicPropertyFactory  : DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@2a8a3ada
2019-08-06 18:04:21.184  INFO 17920 --- [           main] o.s.cloud.commons.util.InetUtils         : Cannot determine local hostname
2019-08-06 18:04:21.411  INFO 17920 --- [           main] c.s.j.s.i.a.WebApplicationImpl           : Initiating Jersey application, version 'Jersey: 1.19.1 03/11/2016 02:08 PM'
2019-08-06 18:04:21.474  INFO 17920 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using JSON encoding codec LegacyJacksonJson
2019-08-06 18:04:21.475  INFO 17920 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using JSON decoding codec LegacyJacksonJson
2019-08-06 18:04:21.578  INFO 17920 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using XML encoding codec XStreamXml
2019-08-06 18:04:21.578  INFO 17920 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using XML decoding codec XStreamXml
2019-08-06 18:04:21.903  WARN 17920 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.
2019-08-06 18:04:21.903  INFO 17920 --- [           main] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2019-08-06 18:04:22.042  INFO 17920 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2019-08-06 18:04:23.998  INFO 17920 --- [           main] o.s.cloud.commons.util.InetUtils         : Cannot determine local hostname
2019-08-06 18:04:24.062  INFO 17920 --- [           main] o.s.c.n.eureka.InstanceInfoFactory       : Setting initial instance status as: STARTING
2019-08-06 18:04:24.086  INFO 17920 --- [           main] com.netflix.discovery.DiscoveryClient    : Initializing Eureka in region us-east-1
2019-08-06 18:04:24.087  INFO 17920 --- [           main] com.netflix.discovery.DiscoveryClient    : Client configured to neither register nor query for data.
2019-08-06 18:04:24.093  INFO 17920 --- [           main] com.netflix.discovery.DiscoveryClient    : Discovery Client initialized at timestamp 1565085864092 with initial instances count: 0
2019-08-06 18:04:24.123  INFO 17920 --- [           main] c.n.eureka.DefaultEurekaServerContext    : Initializing ...
2019-08-06 18:04:24.125  WARN 17920 --- [           main] c.n.eureka.cluster.PeerEurekaNodes       : The replica size seems to be empty. Check the route 53 DNS Registry
2019-08-06 18:04:24.138  INFO 17920 --- [           main] c.n.e.registry.AbstractInstanceRegistry  : Finished initializing remote region registries. All known remote regions: []
2019-08-06 18:04:24.139  INFO 17920 --- [           main] c.n.eureka.DefaultEurekaServerContext    : Initialized
2019-08-06 18:04:24.147  INFO 17920 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 2 endpoint(s) beneath base path '/actuator'
2019-08-06 18:04:24.284  INFO 17920 --- [           main] o.s.c.n.e.s.EurekaServiceRegistry        : Registering application EUREKA-SERVER-DEMO with eureka with status UP
2019-08-06 18:04:24.287  INFO 17920 --- [      Thread-32] o.s.c.n.e.server.EurekaServerBootstrap   : Setting the eureka configuration..
2019-08-06 18:04:24.288  INFO 17920 --- [      Thread-32] o.s.c.n.e.server.EurekaServerBootstrap   : Eureka data center value eureka.datacenter is not set, defaulting to default
2019-08-06 18:04:24.288  INFO 17920 --- [      Thread-32] o.s.c.n.e.server.EurekaServerBootstrap   : Eureka environment value eureka.environment is not set, defaulting to test
2019-08-06 18:04:24.306  INFO 17920 --- [      Thread-32] o.s.c.n.e.server.EurekaServerBootstrap   : isAws returned false
2019-08-06 18:04:24.307  INFO 17920 --- [      Thread-32] o.s.c.n.e.server.EurekaServerBootstrap   : Initialized server context
2019-08-06 18:04:24.308  INFO 17920 --- [      Thread-32] c.n.e.r.PeerAwareInstanceRegistryImpl    : Got 1 instances from neighboring DS node
2019-08-06 18:04:24.308  INFO 17920 --- [      Thread-32] c.n.e.r.PeerAwareInstanceRegistryImpl    : Renew threshold is: 1
2019-08-06 18:04:24.308  INFO 17920 --- [      Thread-32] c.n.e.r.PeerAwareInstanceRegistryImpl    : Changing status to UP
2019-08-06 18:04:24.317  INFO 17920 --- [      Thread-32] e.s.EurekaServerInitializerConfiguration : Started Eureka Server
2019-08-06 18:04:24.331  INFO 17920 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 6000 (http) with context path ''
2019-08-06 18:04:24.332  INFO 17920 --- [           main] .s.c.n.e.s.EurekaAutoServiceRegistration : Updating port to 6000
2019-08-06 18:04:24.333  INFO 17920 --- [           main] c.s.e.s.EurekaServerDemoApplication      : Started EurekaServerDemoApplication in 10.507 seconds (JVM running for 11.631)
詐一看啟動時正常的,但是一訪問:

在用Spring boot搭建項目的時候出現 “無法訪問此網站“ 是什么情況

我的配置文件
server:
  port: 6000

spring:
  application:
    name: eureka-server-demo

eureka:
  instance:
    hostname: 127.0.0.1
    lease-expiration-duration-in-seconds: 30
    lease-renewal-interval-in-seconds: 30
  client:
    register-with-eureka: false
    fetch-registry: false
    service-url:
      defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/
就是感覺沒啥毛病,但就很是郁悶呀,結果就直接把項目刪除,重新搭建,啥也不改,竟然就成功了,對比發現就端口不一樣,結果換了個端口,莫名其妙好了,經查資料說 6000端口一般是***端口,一般都是關閉的,所以才導致的這個問題,還能怎么辦,改個端口唄!!!

感謝各位的閱讀,以上就是“在用Spring boot搭建項目的時候出現 “無法訪問此網站“ 是什么情況”的內容了,經過本文的學習后,相信大家對在用Spring boot搭建項目的時候出現 “無法訪問此網站“ 是什么情況這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是億速云,小編將為大家推送更多相關知識點的文章,歡迎關注!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

鸡东县| 平邑县| 宁河县| 公安县| 泌阳县| 宁陵县| 依兰县| 内乡县| 扎鲁特旗| 张掖市| 揭西县| 赞皇县| 霍山县| 玉屏| 安福县| 汉源县| 静海县| 长沙市| 西畴县| 隆德县| 金坛市| 周口市| 益阳市| 陆川县| 南安市| 三门县| 墨脱县| 卢龙县| 绥滨县| 迁西县| 仲巴县| 大关县| 即墨市| 姜堰市| 望江县| 辛集市| 奎屯市| 安溪县| 米泉市| 阜新市| 茂名市|