Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Whitelabel Error Page

Ao acessar http://localhost:8081/eureka recebo Whitelabel Error Page

Console não mostrou mensagem de erro e troquei a porta para 8083

for data. 2022-08-09 21:39:02.290 INFO 4052 --- [ main] com.netflix.discovery.DiscoveryClient : Discovery Client initialized at timestamp 1660091942288 with initial instances count: 0 2022-08-09 21:39:02.350 INFO 4052 --- [ main] c.n.eureka.DefaultEurekaServerContext : Initializing ... 2022-08-09 21:39:02.353 INFO 4052 --- [ main] c.n.eureka.cluster.PeerEurekaNodes : Adding new peer nodes [http://localhost:8083/eureka/] 2022-08-09 21:39:02.508 INFO 4052 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON encoding codec LegacyJacksonJson 2022-08-09 21:39:02.508 INFO 4052 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON decoding codec LegacyJacksonJson 2022-08-09 21:39:02.508 INFO 4052 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using XML encoding codec XStreamXml 2022-08-09 21:39:02.508 INFO 4052 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using XML decoding codec XStreamXml 2022-08-09 21:39:02.824 INFO 4052 --- [ main] c.n.eureka.cluster.PeerEurekaNodes : Replica node URL: http://localhost:8083/eureka/ 2022-08-09 21:39:02.873 INFO 4052 --- [ main] c.n.e.registry.AbstractInstanceRegistry : Finished initializing remote region registries. All known remote regions: [] 2022-08-09 21:39:02.886 INFO 4052 --- [ main] c.n.eureka.DefaultEurekaServerContext : Initialized 2022-08-09 21:39:02.902 INFO 4052 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator' 2022-08-09 21:39:02.987 INFO 4052 --- [ main] o.s.c.n.e.s.EurekaServiceRegistry : Registering application SERVER with eureka with status UP 2022-08-09 21:39:03.016 INFO 4052 --- [ Thread-9] o.s.c.n.e.server.EurekaServerBootstrap : isAws returned false 2022-08-09 21:39:03.017 INFO 4052 --- [ Thread-9] o.s.c.n.e.server.EurekaServerBootstrap : Initialized server context 2022-08-09 21:39:03.018 INFO 4052 --- [ Thread-9] c.n.e.r.PeerAwareInstanceRegistryImpl : Got 1 instances from neighboring DS node 2022-08-09 21:39:03.018 INFO 4052 --- [ Thread-9] c.n.e.r.PeerAwareInstanceRegistryImpl : Renew threshold is: 1 2022-08-09 21:39:03.019 INFO 4052 --- [ Thread-9] c.n.e.r.PeerAwareInstanceRegistryImpl : Changing status to UP 2022-08-09 21:39:03.037 INFO 4052 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8083 (http) with context path '' 2022-08-09 21:39:03.038 INFO 4052 --- [ main] .s.c.n.e.s.EurekaAutoServiceRegistration : Updating port to 8083 2022-08-09 21:39:03.106 INFO 4052 --- [ Thread-9] e.s.EurekaServerInitializerConfiguration : Started Eureka Server 2022-08-09 21:39:03.291 INFO 4052 --- [ main] b.c.b.alura.alurafood.EurekaApplication : Started EurekaApplication in 6.8 seconds (JVM running for 8.277) 2022-08-09 21:39:08.752 INFO 4052 --- [nio-8083-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-08-09 21:39:08.752 INFO 4052 --- [nio-8083-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2022-08-09 21:39:08.755 INFO 4052 --- [nio-8083-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 3 ms 2022-08-09 21:40:03.021 INFO 4052 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry : Running the evict task with compensationTime 0ms 2022-08-09 21:41:03.029 INFO 4052 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry : Running the evict task with compensationTime 8ms

2 respostas
solução!

Olá Bruno, tudo bem?

Nesse caso basta acessar http://localhost:8081, não é necessário colocar o /eureka.

Se a dúvida permanecer, não deixe de nos avisar por aqui.

Bons estudos! 😄

Caso este post tenha lhe ajudado, por favor, marcar como solucionado ✓.Bons Estudos!

Obrigado pelo retorno, Prof. Jacqueline.