Score:0

Can't access my ec2 public ip outside rdp

mv flag

I'm using IIS to host my app and I use port 80, on my RDP if I enter the IP address it redirect me to my app but if I use the IP address outside RDP is not working. I checked with XAMPP and is working on same port( not same time) and I can access it outside my RDP. What may be the problem.

my security group

Score:0
mx flag

Assuming you're hosting your website on an EC2 instance, as well as the IP address, you need to consider the EC2 Security Group(s) attached to your instance. These are AWS's equivalent of a firewall and control which ports can be accessed from the outside world.

If you don't allow access to port 80 from everywhere, you would be able to access your website from the instance itself as you've said (while connected over Remote Desktop), but now when browsing from another computer.

Check your security group, but for security reasons be sure to only allow access to the specific ports you need, e.g. 80 for HTTP and 443 for HTTPS

See AWS documentation on EC2 security groups at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/working-with-security-groups.html

Mega avatar
mv flag
my security group is allowing access, i added the photo in question body
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.