Opening port 80 EC2 Amazon web services
Amazon Web-ServicesAmazon Ec2Amazon Web-Services Problem Overview
I've opened port 80 in the web console on my E2C instance's security group but I still can't access it via the public dns in the browser.
Any ideas?
Amazon Web-Services Solutions
Solution 1 - Amazon Web-Services
This is actually really easy:
- Go to the "Network & Security" -> Security Group settings in the left hand navigation
- Find the Security Group that your instance is apart of
- Click on Inbound Rules
- Use the drop down and add HTTP (port 80)
- Click Apply and enjoy
Solution 2 - Amazon Web-Services
Some quick tips:
- Disable the inbuilt firewall on your Windows instances.
- Use the IP address rather than the DNS entry.
- Create a security group for tcp ports 1 to 65000 and for source 0.0.0.0/0. It's obviously not to be used for production purposes, but it will help avoid the Security Groups as a source of problems.
- Check that you can actually ping your server. This may also necessitate some Security Group modification.
Solution 3 - Amazon Web-Services
- Check what security group you are using for your instance. See value of Security Groups column in row of your instance. It's important - I changed rules for default group, but my instance was under quickstart-1 group when I had similar issue.
- Go to Security Groups tab, go to Inbound tab, select HTTP in Create a new rule combo-box, leave 0.0.0.0/0 in source field and click Add Rule, then Apply rule changes.