Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a remote server. There is glassfish 3.1.2 running behind apache 2.2. The administration port 4848 is blocked by firewall so that I cannot use 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.

share|improve this question
For port-forwarding using putty: – feargal Dec 18 '12 at 13:03
up vote 3 down vote accepted

If you have SSH access to your server you can forward this port to your local machine like this: ssh -L 4848: and then use on your local PC to access Glassfish admin interface.

share|improve this answer
Thanks, for you answer. What ssh client would you recommend for doing that? – Nurzhan Jul 11 '12 at 5:45
The command above is valid for a command line SSH client, you can install it on Windows using Cygwin suite. You can also use PuTTY but port forwarding in PuTTY should be configured differently. PuTTY uses a graphical menu to configure such things. – Alex Jul 11 '12 at 5:48
Do you know anything about accessing glassfish admin console through apache using mod_proxy or mod_jk? – Nurzhan Jul 11 '12 at 5:52
No, I've never tried it – Alex Jul 11 '12 at 5:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.