1

I deplyoed my nodejs application on a AWS server with windows server as OS. The application is a simple express server running on https port 443. The application is accessible through localhost, but I can access the app through public IP.

Here are a few things I tried:

I am still not able to access my app. I setup up inbound rules in my firewall for the port and nodejs itself.

paaax
  • 144
  • 1
  • 1
  • 8
  • Can you access it with someone else on the local network, with, say, your phone on wifi? – Kasey Chang May 05 '20 at 04:21
  • What do you mean"The application is accessible through localhost, but I can access the app through public IP."? Do you mean the website can't be accessed over public IP address? Could you post your binding host header? In Azure VM, you also need to create firewall inbound rule in azure portal. So have you tried to create rule in security group for AWS machine?https://stackoverflow.com/questions/26338301/ec2-how-to-add-port-8080-in-security-group. Besides, have you check your netsh IP listen list? – Jokies Ding May 05 '20 at 06:41

1 Answers1

0

The issue was simply in my security group. I had set up the IP addresses I was expecting, but one was missing. It is working now.

paaax
  • 144
  • 1
  • 1
  • 8