【eureka问题:已解决】Request execution failed with message: java.net.ConnectException: Connection refused:
2023-02-18 16:31:08 时间
解决方案一:
在eureka服务的配置文件中添加:
: :
下面是凯哥的yml文件:
:
: :
:
: eurekaservice :
:
: : http://127.0.0.1:10086/eureka
: :
启动成功后,浏览器输入:127.0.0.1:10086
访问成。
如果访问ip:端口不成功的话,请检查启动类上是否开启了eurekaServer
@EnableEurekaServer
相关文章
- 安卓项目五子棋代码详解(三)
- 安卓项目五子棋代码详解(二)
- 安卓项目五子棋代码详解(一)
- 3xx HTTP状态码的终极指南
- React报错之React.Children.only expected to receive single React element child
- React报错之Element type is invalid
- React报错之Too many re-renders
- React报错之Function components cannot have string refs
- 如何发布一个 TypeScript 编写的 npm 包
- 如何使用zx编写shell脚本
- 13个构建RESTful API的最佳实践
- 什么是REST API
- React报错之Rendered more hooks than during the previous render
- 如何使用CSS伪类选择器
- React报错之Property 'value' does not exist on type EventTarget
- React报错之Parameter 'event' implicitly has an 'any' type
- React报错之Parameter 'props' implicitly has an 'any' type
- React报错之Property 'value' does not exist on type 'HTMLElement'
- React报错之You provided a `checked` prop to a form field
- React报错之Invalid hook call