Spring Boot Microservices - Docker throwing Resource Exception
I devised an example of Spring Boot Microservices. I tried to run all services on Docker but I have some problem in some services regarding ResourceException for config server. I hope you can help me. Here is the link : https://stackoverflow.com/questions/74835400/docker-connection-issue-in-spring-boot-microservice-org-springframework-web-cl
Stack Overflow
Docker Connection Issue in Spring Boot Microservice - org.springfra...
I revised an example of Spring Boot Microservices and I have a problem about running all services on docker.
After creating the image file of each services, I devised a docker-compose.yml to run all
17 Replies
Hey, @direct_x_34!
Please remember to
/close
this post once your question has been answered!Any specific reason you think there's a hostname entry named
configserver
?Where.
I still couldn't fix the issue.
I get an error regarding Connection refused to configserver
@dan1st | Daniel I revised the docker-compose.yml file.
Here is the link : https://stackoverflow.com/questions/74835400/docker-connection-issue-in-spring-boot-microservice-org-springframework-web-cl
Stack Overflow
Docker Connection Issue in Spring Boot Microservice - Configserver ...
I revised an example of Spring Boot Microservices and I have a problem about running all services on docker.
After creating the image file of each services, I devised a docker-compose.yml to run all
someone seems to have answered your question
It's not an answer.
to me, it seems like an answer
might be incorrect but an answer nevertheless
It can be incorrect as his code is similar to mine.
@dan1st | Daniel Caused by: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://configserver:9296/API-GATEWAY/default": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused)
How can I fix it? Here is the link : https://stackoverflow.com/questions/74841750/spring-boot-microservice-docker-issue-api-gateway-cannot-connect-to-configs
Stack Overflow
Spring Boot Microservice -> Docker Issue : API Gateway cannot conne...
I have a problem about running all services on docker. The only thing which I cannot handle is related with connection problem between api gateway and configserver. Config server is based on git file
Why did you create a new question?
Cause I cannot connect api gateway to config server.
Caused by: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://configserver:9296/API-GATEWAY/default": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused)
isn't it still the same issue?
It's the same content but What I want to do is to access anyone easily and answer it quickly.
Do you know how to fix it?
no but posting the same question multiple times on StackOverflow is probably a bad idea
it might get you question-banned, amongst other things
Why did I get ResourceAccessException in api gateway.
How can I fix the issue?
I don't know
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one.