curl 56 Recv failure Connection reset by peer

0 votes

Hi Guys,

I am trying to connect my elasticsearch container, but it is showing me the below error.

[root@localhost ~]# curl 192.168.99.102:9200
curl: (56) Recv failure: Connection reset by peer

How can I solve this error?

Jun 11, 2020 in DevOps Tools by akhtar
• 38,170 points
4,839 views

1 answer to this question.

0 votes

Hi@akhtar,

Check your network connectivity. It will take some time to create an environment for elasticsearch container. Also, make sure you have at least 2-3 GB of RAM. Because elasticsearch internally uses JDK and it requires some RAM to load the program.

answered Jun 11, 2020 by MD
• 95,160 points

Related Questions In DevOps Tools

0 votes
1 answer
0 votes
1 answer

How do I set maximum queue connection for nginx port in Windows?

Since increasing queue size did not fix your problem ...READ MORE

answered Aug 22, 2018 in DevOps Tools by Damon Salvatore
• 5,980 points
286 views
0 votes
1 answer

What are the different services provided by Nagios?

Nagios provides multiple services and I've listed ...READ MORE

answered Mar 1, 2019 in DevOps Tools by Isha
155 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,120 points
1,143 views
0 votes
1 answer
0 votes
1 answer

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

Typically, this message is returned if the ...READ MORE

answered Jul 9, 2019 in Docker by Sirajul
• 59,050 points
2,729 views