Why do I get Connection reset by peer when making a request to a service running in a container

0 votes
Jul 10, 2019 in Docker by Namik
• 1,230 points
5,248 views

1 answer to this question.

0 votes

Typically, this message is returned if the service is already bound to your localhost. 

As a result, requests coming to the container from outside are dropped. 

To correct this problem, change the service’s configuration on your localhost so that the service accepts requests from all IPs. If you aren’t sure how to do this, check the documentation for your OS.

answered Jul 10, 2019 by Sirajul
• 59,190 points

Related Questions In Docker

+1 vote
1 answer
0 votes
1 answer

How do I fix this error? docker run --- name “xyz” is already in use by container

You need to remove container "registry-v1". Run docker rm ...READ MORE

answered Feb 19, 2021 in Docker by Abhinav Kumar

edited Mar 5, 2025 13,828 views
0 votes
1 answer

Is it possible to start a shell session in a running container (without ssh)

use this docker exec -it "id of running ...READ MORE

answered Jul 25, 2018 in Docker by Kalgi
• 52,340 points
1,691 views
0 votes
1 answer

Is it possible to start a shell session in a running container (without ssh)

use this docker exec -it "id of running ...READ MORE

answered Jul 27, 2018 in Docker by Kalgi
• 52,340 points
1,610 views
+2 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
7,672 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP