4.6.7 Changing a port number
To change a port number, set the new port number for a port-related parameter by using the set subcommand of the asadmin utility command.
Prerequisites
-
The domain administration server (DAS) is running.
-
Application Server has been set up.
Intended users
-
System engineers
The port-related parameters to be set when changing a port number
When you change a port number, the following port-related parameters are to be specified in the get subcommand and the set subcommand of the asadmin utility command:
-
configs.config.configuration_name_of_the_Java_EE_server.iiop-service.iiop-listener.ID.port
-
configs.config.configuration_name_of_the_Java_EE_server.network-config.network-listeners.network-listener.listener_name.port
-
configs.config.configuration_name_of_the_Java_EE_server.admin-service.jmx-connector.system.port
-
configs.config.configuration_name_of_the_Java_EE_server.jms-service.jms-host.JMS_host_name.port
-
hitachi-webservers.hitachi-webserver.web_server_name.property.listen-port
-
hitachi-webservers.hitachi-webserver.web_server_name.property.listen-add-portn
-
hitachi-webservers.hitachi-webserver.web_server_name.property.server-name
-
hitachi-webserver-configs.hitachi-webserver-config.configuration_name_of_the_web_server.property.listen-port
-
hitachi-webserver-configs.hitachi-webserver-config.configuration_name_of_the_web_server.property.listen-add-portn
-
hitachi-webserver-configs.hitachi-webserver-config.configuration_name_of_the_web_server.property.server-name
Procedure
To acquire the setting value of a port-related parameter and verify the port number before the change, run the get subcommand of the asadmin utility command.
asadmin get port_number_related_parameter
When this command is run, the result is displayed as follows:
Command get executed successfully.
To set a changed port number, run the set subcommand of the asadmin utility command.
asadmin set port_number_related_parameter=changed_port_number
When this command is run, the result is displayed as follows:
Command set executed successfully.