HP XP7 Command View Advanced Edition Administrator Guide (Web Version) (TK981-96004, May 2014)
Operations to complete in advance
Log in with administrator permissions.
Command format
firewall_setup.bat {add|del}
Location of the command
installation-folder-for-Host-Data-Collector\HDC\Base\bin
Options
add
Adds firewall exceptions.
del
Removes firewall exceptions.
Related topics
• Registering an exception for the Host Data Collector service (for SSL communication), page 85
• hdc.common.rmi.registryPort, page 368
• hdc.common.rmi.serverPort, page 369
• hdc.common.http.serverPort, page 369
Registering an exception for the Host Data Collector service (for SSL communication)
Use the netsh command to register a firewall exception for SSL communication ports used by the
Host Data Collector service.
Operations to complete in advance
Log in with administrator permissions.
Information to collect in advance
• Port number set for the hdc.common.rmi.ssl.registryPort property (Default value:
22104/tcp)
• Port number set for the hdc.common.rmi.ssl.serverPort property (Default value: 22105/tcp)
• Port number set for the hdc.common.https.serverPort property (Default value: 22106/tcp)
To register a firewall exception for the Host Data Collector service:
1. Execute the following command for each port.
netsh advfirewall firewall add rule name="Host Data Collector Base"
dir=in action=allow localport=port-number protocol=TCP
2. Restart the Host Data Collector service to enable the settings.
TIP:
To check the registered information, execute the following commands:
netsh advfirewall firewall show rule name=all
Administrator Guide (Web Version) 85