We have created config.yml file for providing dynamic data into application.properties . But when i am calling the post api then it is not picking up the dynamic data instead is picking static data. We have different microservices running on different2 ports and having same configuration in all microservices. But some microservices are not picking up the dynamic data and some are picking. I am not able to understand why it is happening ?
[] org.apache.juli.logging.DirectJDKLog [http-nio-9190-exec-2] Servlet.service() for servlet [dispatcherServlet] threw exception org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://localhost:8080/user/auth/check": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused)