问题
I created an EC2 instance and added ALL TCP and UDP ports. ICMP also... Started my play application with both port 9000 and 80, neither worked out. The application starts, I can connect to it from the instance but I cannot connect to it from outside.
telnet instance_dns_name 9000 fails whereas telnet instance_dns_name 3389 works.
I don't know what I am missing. The same issue happened in Microsoft's Azure too. May it be about the region?
回答1:
One more important thing...
If you have Amazon EC2 instance of Debian or Ubuntu - by default, they do not have internal firewall (iptables)
On the other hand, RedHat Enterprise edition DO HAVE firewall and if you want to work properly, you can open the proper ports in iptables or disable iptables - your choice.
I prefer to disable completely iptables since you already have Amazon Security Groups that are with the same role as iptables.
回答2:
Did you open up the ports in both the AWS EC2 security group page AND either turn off your local firewall or open the necessary ports? You probably need to do both.
回答3:
It turns out that instances have firewall also. When I add inbound rule to windows server 2008 instance's firewall the problem resolved.
来源:https://stackoverflow.com/questions/16090022/amazon-ec2-instance-play-framework-connectivity