4.6.9 Opening a port
To open a closed port, run the set subcommand of the asadmin utility command to enable the setting of the port-related parameter.
Prerequisites
-
The domain administration server (DAS) is running.
-
Application Server is running.
Intended users
-
System engineers
Port-related parameter to be specified for opening a port
When opening a port, specify the following port-related parameter for the get and set subcommands of the asadmin utility command:
-
configs.config.configuration_name_of_the_Java_EE_server.network-config.network-listeners.network-listener.listener_name.enabled
This parameter opens the port with the port number specified by configs.config.configuration_name_of_the_Java_EE_server.network-config.network-listeners.network-listener.listener_name.port.
Procedure
Run the get subcommand of the asadmin utility command to get the setting value for the port-related parameter, and confirm that the port is closed (the setting value is false).
asadmin get port_related_parameter_name
When this command is run, the result is displayed as follows:
Command get executed successfully.
To open the closed port, run the set subcommand of the asadmin utility command.
asadmin set port_related_parameter_name=true
Specifying true for the value of the port-related parameter opens the port by enabling the setting of this parameter.
When this command is run, the result is displayed as follows:
Command set executed successfully.