EC2 instance is out of service in loadbalancer
<p>I have an EC2 instance up and running.
I have a load balancer where its associated with EC2 instance. </p>

<pre><code>Ping Target         : HTTP:3001/healthCheck
Timeout             : 5 seconds
Interval            : 24 seconds
Unhealthy threshold : 2
Healthy threshold   : 10
</code></pre>

<p><a href="https://i.stack.imgur.com/qdg3y.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qdg3y.png" alt="enter image description here"></a>
Now the instance is shown as OutofService.
I even tried changing listening ports and all. Things were working until,rebooted my EC2 instance. 
Any help would be higly appreciated.</p>

<p>Just for the info: I have rails app running at port 3001 and I have one listenser for HTTP:80(loadbalancer) to HTTP:3001.  </p>

<p>I also have checked the working app through ssh in the terminal.</p>