These are chat archives for spring-cloud/spring-cloud
so zuul has following properties, may here is a mistake?
hm now i deleted the line
and the dbservice startet. what is that line for?
server.port, there's no such thing as dynamic server port. So if you have it set to 8080, 8081, or whatever, then it will be the port used by the server
hm ok how do i configure it if i have 2 server, one with zuul and the db service and the view is on another server. when i make a rest call i added
final String baseURL = "http://localhost:8080/users/getUser/" + loginName;
User result = restTemplate.getForObject(baseURL, User.class);
so then localhost is wrong, do i need to add the specific IP ? What if the IP change?
zuul.routesurl for each service
ipAddressconfigured, I do believe it's just a matter of misconfiguration
serviceIdregistered on Eureka
/database-service/you can choose something more suitable like