users@glassfish.java.net

Re: Hide the 8181 port in URL

From: Arthur Yeo <artyyeo_at_gmail.com>
Date: Sat, 19 Mar 2011 07:54:23 -0700

Does anyone know if GF itself has any support to do this?

On Sat, Mar 19, 2011 at 7:53 AM, Arthur Yeo <artyyeo_at_gmail.com> wrote:

> Dominik,
> iptables should nicely.
> I guess if there's a dedicated load-balancer such as BigIP or some kind of
> frontend traffic ctrlr, incoming requests can be remapped.
>
> Thanks,
> Art
>
>
> On Fri, Mar 18, 2011 at 3:42 PM, Dominik Dorn <dominik.dorn_at_gmail.com>wrote:
>
>> It is only possible to not append the port in the url, if you're using
>> the default port
>> for the specific protocol:
>> http -> 80
>> https -> 443
>> ftp -> 21
>> etc.
>>
>> if you want to get https without adding the port, then you'll have to
>> create a server internal
>> forwarding.
>>
>> there are several possible ways to do this,
>> mod_proxy
>> mod_jk
>> iptables (
>> http://dominikdorn.com/2010/04/tomcat-glassfish-jetty-port-80-iptables-nat/
>> )
>>
>> hope that helps
>>
>> dominik
>>
>> On Fri, Mar 18, 2011 at 11:14 PM, Arthur Yeo <artyyeo_at_gmail.com> wrote:
>> > All,
>> > Obviously, if I were to reconfigure GF to use 443 for its secure
>> channel, my
>> > https URL will now be able to skip using the port since it is the old
>> std
>> > SSL port.
>> > If I were to keep the 8181 port (or use any other non-std port), is
>> there to
>> > configure it so that the URL does not need to specify the port?
>> >
>> > --
>> > Arthur Y.
>> >
>>
>>
>>
>> --
>> Dominik Dorn
>> http://dominikdorn.com
>> http://twitter.com/domdorn
>>
>> Tausche Deine Lernunterlagen auf http://www.studyguru.eu !
>>
>
>
>
> --
> Arthur Y.
>



-- 
Arthur Y.