Caused by: java.net.UnknownHostException: eureka-server
2018-03-16 11:56
477 查看
本地springCloud项目再启动时,链接不上注册中心:
解决方法:
将注册中心eureka-server对应的IP添加到电脑
C:\Windows\System32\drivers\etc
路径下的host文件中,如图:
解决方法:
将注册中心eureka-server对应的IP添加到电脑
C:\Windows\System32\drivers\etc
路径下的host文件中,如图:
相关文章推荐
- Spring Cloud (1) | java.net.UnknownHostException: eureka-server
- 解决Caused by: java.net.UnknownHostException: struts.apache.org
- Caused by: java.net.UnknownHostException: mybatis.
- log4j出现Caused by: java.net.UnknownHostException: www.w3.org
- Caused by: java.net.UnknownHostException
- Caused by: java.net.UnknownHostException: struts.apache.org
- 对于丢失网络之后ssh抛出的 Caused by: java.net.UnknownHostException: struts.apache.org异常处理
- Caused by: java.net.UnknownHostException
- Caused by: java.net.UnknownHostException: www.baidu.com: Temporary failure in name resolution
- Caused by: java.net.UnknownHostException: struts.apache.org
- Caused by: java.net.UnknownHostException
- Caused by: java.net.UnknownHostException
- Eureka error "java.net.UnknownHostException: c1438e0d5866
- Caused by: java.net.UnknownHostException: www.mybatis.org
- 2016-02-01-Eureka error "java.net.UnknownHostException: c1438e0d5866.md
- Caused by: java.net.UnknownHostException: XX: XX: Temporary failure in name resolution
- java连接redis/redis集群报Caused by: java.net.UnknownHostException: 主机名: Name or service not k
- Caused by: java.lang.IllegalArgumentException: java.net.UnknownHostException: testcluster
- java.net.UnknownHostException: unknown host:xxxx异常解决办法
- hive add jar 报java.net.UnknownHostException: user错误