GlassFish -I cant reach Admin console page

August 6, 2014 2.2k views

Hi everyone,

i just came up digital ocean and im trying to deploy a java web app. I took the SSH .

i can reach the server with putty no problem.

My droplet working no problem. Im installed glassfish 4.0 with these instructions: and set enable-secure-admin and restarted.

my problem is that when i tried to : http//myip:8080 it says no problem glassfish server is running. (like when i using netbeans localhost) but when i try to access http://myip:4848 login page and i giving id and password but console never opening. (im sure my glassfish server admin and password is true) . and moreover when i came to putty domain1 has stopped. Im thinking its due to ubuntu firewall ?

Can anyone help me ?

1 Answer

Ubuntu doesn't have a firewall enabled by default. Did you? It would certainly explain the issue you are seeing.

On the server, run sudo netstat -plunt | grep 4848 If it is running on port 4848, you should see:

tcp6       0      0 :::4848                 :::*                    LISTEN      3962/java       

If you don't then you know that GlassFish is not running properly, and the problem isn't firewalling. If it is listed, run iptables -L to see your file wall settings and check that you are not blocking port 4848.

Have another answer? Share your knowledge.