users@glassfish.java.net

Re: Setting Port 80?

From: Justin Lee <Justin.Lee_at_Sun.COM>
Date: Thu, 04 Mar 2010 08:21:12 -0500

You can find the setting with:
     asadmin get "*" | grep 8080

You set port with:
     asadmin set
configs.config.server-config.network-config.network-listeners.network-listener.http-listener-1.port=80

You shouldn't need to restart glassfish (v3 only) at this point. GF
should restart the internal components transparently.

On 3/2/10 6:21 PM, Oliver Gottwald wrote:
> i did the following:
> #1
> sudo su -
> #2
> cd /opt/glassfish/domains/domain1/config
> #3
> vi domain.xml
> #4
> search for http-listener
> /http-listener
> #6
> change 8080
> to 80
>
>
>
> -----Original Message-----
> From: "Oliver Gottwald"<oliver_at_drachmatech.com>
> Sent: Tuesday, March 2, 2010 5:42pm
> To: users_at_glassfish.dev.java.net
> Subject: Setting Port 80?
>
> How would I go about setting up Port 80 for glassfish?
>
>
>
>