title: AWS Load Balancing a Node.js App on port 3000
body: <p>I've got a Node.js Express web app that is using the default port 3000 and responds fine on an Ubuntu EC2 instance by elastic ip. I'm trying to setup Load Balancing built into AWS and can't seem to get a good health check to pass</p>
  
  <p>Setup 2 ubuntu servers that server the app fine on port 3000.</p>
  
  <p>Set the load balancer listeners for port 80 to route to Instance port 3000 and also tried routing 3000 to 3000. </p>
  
  <p>Added the amazon-elb/amazon-elb-sg security group to my instance security groups just in case.</p>
  
  <p>Set the health check to port 80 and 3000 to many valid urls within the project.</p>
  
  <p>Anything I'm missing here?</p>
  
  <p>UPDATE:</p>
  
  <p>Turns out it was the simplest thing I was overlooking. Somehow my actual instances were in a security group with only 80 opened and I just had to add a rule to open 3000. Can't believe I missed that.</p>