访问本地服务正常,通过网关无法访问
来源:10-3 编写Spring Cloud Gateway

matthew21
2020-10-25
http://localhost:9099/users/1 正常,nacos可以看到服务已经注册
http://localhost:8040/user-center/users/1 无法访问到
网关服务打印如下日志
c.a.n.client.config.impl.ClientWorker : get changedGroupKeys:[]
请问如何排查这个问题?
写回答
1回答
-
帮忙贴下网关的application.yml配置哦。此外,帮忙按照10-12节的描述,贴下Gateway /actuator/gateway/routes 端点的内容。我来看看
022020-10-27
相似问题