Skip to main content

I can't enable remote acces to the admin console on glassfish 3.1.2

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2013-12-07

Hello I am new to glassfish. I have a virtual pc with centos 5, and I can not enable remote access to the console.

1- Install glassfih

2-start the domain with this command:
/opt/glassfish3/glassfish/bin/asadmin start-domain

3- change the password for root with this command:
/opt/glassfish3/glassfish/bin/asadmin --host --port 4848 change-admin-password

4- I stopped the domain with this command:
/opt/glassfish3/glassfish/bin/asadmin stop-domain

5- enable remote access with this command:
/opt/glassfish3/glassfish/bin/asadmin --host --port 4848 enable-secure-admin

6- start the domain again

The welcome page at works fine but still I can not access the management console remotely.

Also check the file /etc/hosts

any help?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2013-12-07

finally i could fix the problem by adding an exception in the firewall