Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 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.

share|improve this question
    
For port-forwarding using putty: http://www.cs.uu.nl/technical/services/ssh/putty/puttyfw.html –  feargal Dec 18 '12 at 13:03
add comment

1 Answer

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:127.0.0.1:4848 user@some_server.com and then use http://127.0.0.1:4848 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
add comment

Your Answer

 
discard

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.