Prashant Bhagat wrote:
> Hi,
> I have installed glassfish with a domain (domain1). This domain uses
> ports 8080 and 8181 for http and https. How can I change the port numbers?
> Would it be sufficient to change the numbers in the domain.xml in the
> section below
Yes, that would be sufficient.
You can change the port numbers by editing the domain.xml (not
recommended), thru the
admin gui, or by invoking "asadmin set".
Notice that after changing the port number of an http-listener, a server
restart is not required.
Jan
>
> <config dynamic-reconfiguration-enabled="true" name="server-config">
> <http-service>
> <access-log format="%client.name% %auth-user-name% %datetime%
> %request% %status% %response.length%" rotation-enabled="true"
> rotation-interval-in-minutes="15" rotation-policy="time"
> rotation-suffix="yyyy-MM-dd"/>
> <http-listener acceptor-threads="1" address="0.0.0.0"
> blocking-enabled="false" default-virtual-server="server"
> enabled="true" family="inet" id="http-listener-1"* port="8080"
> *security-enabled="false" server-name="" xpowered-by="true">
> <property name="proxiedProtocols" value="ws/tcp"/>
> </http-listener>
> <http-listener acceptor-threads="1" address="0.0.0.0"
> blocking-enabled="false" default-virtual-server="server"
> enabled="true" family="inet" id="http-listener-2" *port="8181"*
> security-enabled="true" server-name="" xpowered-by="true">
> <ssl cert-nickname="s1as" client-auth-enabled="false"
> ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true"
> tls-rollback-enabled="true"/>
> </http-listener>
>
>
> Thanks
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net For
> additional commands, e-mail: users-help_at_glassfish.dev.java.net