I am new to the concept of dockers and containers. So sorry if I frame the question in a wrong way. The issue is -
An aws EC2 instance which is running docker is failing load balancer health checks. I tired to curl docker container hosted web service from the instance and it returned
curl: (56) Recv failure: Connection reset by peer
I went through this question
As suggested in the answer I used
netstat -an|grep LISTEN from within the container and it didn't return anything (No error. The control just went to next line returning nothing).
I have no clue what to do right now. Please help.