Eureka registry service starts with an error request execution error. Endpoint = defaultendpoint {serviceurl = ' http://127.0.0.1:8000/eureka/ }
Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://127.0.0.1:8000/eureka/}, exception=java.net.ConnectException: Connection refused: connect stacktrace=com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: connect
There are two reasons for the above problems:
The defaultzone attribute in the configuration file does not recognize that when Eureka is started, it will pull the information of other services by default and set it to close to run normally
fetch registry: false
The application.yaml configuration file is as follows
server:
port: 8000
# server name
spring:
application:
name: eureka-server
# Eureka address information configuration
eureka:
client:
service-url:
defaultZone: http://127.0.0.1:8000/eureka
register-with-eureka: false # Whether to register your own information to EurekaServer, the default is true
fetch-registry: false # Whether to pull information about other services, the default is true
Read More:
- Springcloud configuration center client 3355 startup Error: error on get request for“ http://localhost:8761/eureka/apps/ “: Connection
- [Solved] Eureka related services Start Error: cannot execute request on any known server
- [Solved] Eureka Startup Error: Root name (‘timestamp‘) does not match expected type EurekaApplications
- Eureka unit test error creating bean with name ‘Eureka autoservice registration’: Singleton bean
- Vue Error: command failed: npm install –loglevel error –registry=https://registry.npm.taobao.org
- [Solved] MinIO Start Error: “WARNING: Console endpoint is listening on a dynamic port…”
- No repositories directory found inside registry_ DATA_ DIR
- SharePoint site shows ‘Service Unavailable. HTTP Error 503. The service is unavailable’
- [Solved] Docker Error: driver failed programming external connectivity on endpoint
- Spring cloud Eureka error creating bean with name
- [Solved] Docker: Error response from daemon: driver failed programming external connectivity on endpoint mysq
- [Solved] docker: Error response from daemon: driver failed programming external connectivity on endpoint mysql-test …
- [Solved] Docker Error: Error response from daemon: driver failed programming external connectivity on endpoint
- [Solved] ERROR OGG-01232 Receive TCP params error: TCP/IP error 104 (Connection reset by peer), endpoint:
- Hive Statement Error During Execution: Error while processing statement: FAILED: Execution Error, return code 2 from o
- [Solved] Failed to load property source from location ‘classpath:/application.yml‘
- Current request is not a multipart request [How to Solve]
- [Solved] “error_code“:500,“message“:“IO Error trying to forward REST request: java.net.ConnectException: Connection Refused
- The reason and solution for the error ECONNRESET of the httpClieint request of Node.js
- [Solved] Docker Start nginx error: driver failed programming external connectivity on endpoint nginx