在配置完微服务的nacos注册中心,然后启动服务,直接终止服务,提示错误:
failed to req API:/nacos/v1/ns/instance after all servers([8848]) tried: java.net.SocketException: Network is unreachable: connect
其实是服务找不到注册中心
处理方法:
再次启动服务,问题解决
在配置完微服务的nacos注册中心,然后启动服务,直接终止服务,提示错误:
failed to req API:/nacos/v1/ns/instance after all servers([8848]) tried: java.net.SocketException: Network is unreachable: connect
其实是服务找不到注册中心
处理方法:
再次启动服务,问题解决