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
3,118 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,090 points

Related Questions In Docker

+1 vote
1 answer
0 votes
1 answer
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,370 points
230 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,370 points
245 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,140 points
1,358 views
0 votes
1 answer