I’ve got a remote server. There is glassfish 3.1.2 running behind apache 2.2. The administration port 4848 is closed so that I cannot use http://some_server.com:4848 where some_server is the domain name of my server. How can I configure apache and glassfish in order to be able to access glassfish administration console?
Thanks, in advance.
I can only guess, that you are trying to do something that is called “port forwarding”.
You can use apache httpd mod_proxy for that:
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html
To give you a first idea about how this could look like:
that would make your admin-console available through your apache:8080/adminconsole
Note: I highly recommend not to do so. There are good reasons why network admins tend to block everything beside 80/8080/443. So you might talk with them about a good solution for your problem.