Hitachi

Hitachi Application Server V10 User's Guide (For Windows® Systems)


4.6.12 Closing a port

To close an open port, run the set subcommand of the asadmin utility command to disable the setting of the port-related parameter.

Prerequisites

Intended users

Port-related parameter to be specified for closing a port

When closing the port, specify the following port-related parameter for the get and set subcommands of the asadmin utility command:

Procedure

  1. 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 open (the setting value is true).

    asadmin get port_related_parameter

    When this command is run, the result is displayed as follows:

    Command get executed successfully.
    
  2. To close the opened port, run the set subcommand of the asadmin utility command.

    asadmin set port_related_parameter=false

    Specifying false for the port-related parameter closes the port by disabling the setting of this parameter.

    When this command is run, the result is displayed as follows:

    Command set executed successfully.