opened port 8080

git-svn-id: http://jclouds.googlecode.com/svn/trunk@2565 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
adrian.f.cole 2010-01-02 00:38:14 +00:00
parent bdbb6d0ec9
commit edc6ccc503
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ public class MainApp {
static void createSecurityGroupAndAuthorizePorts(EC2Client client, String name) {
System.out.printf("%d: creating security group: %s%n", System.currentTimeMillis(), name);
client.getSecurityGroupServices().createSecurityGroupInRegion(Region.DEFAULT, name, name);
for (int port : new int[] { 80, 443, 22 }) {
for (int port : new int[] { 80, 8080, 443, 22 }) {
client.getSecurityGroupServices().authorizeSecurityGroupIngressInRegion(Region.DEFAULT,
name, IpProtocol.TCP, port, port, "0.0.0.0/0");
}