Solve the problem that gateway uri: lb://service-user does not take effect, uri: http://localhost:8001 takes effect

My gateway port here is 8000

 Comparison can be found that the gateway uri: lb://service-user does not take effect

reason:

        Since lb (dynamic routing) means load balancing, it requires adding load balancing dependencies.

 After adding, restart the service and you can access it.

 

 

Guess you like

Origin blog.csdn.net/crazy1013/article/details/125511098
Recommended