I created a RedHat 6.1 VM with EC2. Logged in as root, I installed (unzipped) JDK1.7 in
/root/bin/jdk1.7.0 and installed (unzipped) GlassFish 3.1.1 in
/root/bin/glassfish3. I set
GLASSFISH_HOME in root's
.bash_profile and I started GlassFish.
It's definitely running, because if I do a
wget localhost:8080 from the command line,
wget downloads the
index.html file. The problem is, when I browse to the machine at
http://ec2-107-20-96-43.compute-1.amazonaws.com:8080, I get nothing.
I added port 8080 to the VM's security group; is there something else I have to do there? Is there something else I have to do on the linux machine to make 8080 visible?