AWS working for IIS, but not for NodeJS on the same port

I am using AWS EC2 instance on Windows Server 2008 R2, I deployed an application in IIS on port 80. I am able to access it anywhere. The security group is as follows: HTTP TCP 80 0.0.0.0/0

Then, I installed NodeJS for windows and deployed a simple node application to the same port. When I browse to localhost on the server I see my application working, but when i browse from a different pc, I cannot access it. How is it accessible from IIS but not from NodeJS?

I've seen this question on stackoverflow and the answer is ussually to set the TCP port in security groups in AWS cosole but I've already done that and it doesn't work. Any other ideas?

For those who are having the same issue, if you install nodejs you will need to change some windows firewall settings to expose the port:

  1. Open Start Menu -> Administrative Tools -> Windows Firewall with Advanced Security
  2. Click "Inbound Rules" from the left window
  3. Click "New Rule..." in the Actions window on the right side
  4. follow the prompts to customize the rule and be sure to add the port that your nodejs application is using. Make sure to name the rule so that you recognize it later
  5. In the Inbound Rules window find and double click the rule you just created. Under Programs and Services, select "This Program:" and browse to your node.exe file.
  6. Last but not least make sure this port is open in AWS console security group inbound rules too.