If you need to reassign the port numbers used by these Host Integrator components, do the following:
vhibaseport.properties and place it in the vhi/etc directory.vhibaseport.properties file:
vhibaseport=n
where "n" is a valid TCP port number.After you reassign the VHI base port, the Host Integrator components are assigned these TCP ports:
| Component | TCP Port Assignment |
|---|---|
| vhibaseport | n |
| Session Server | n -> n+16 |
| Logging Utility | n+17 |
| AADS Server | n+18 |
| Script Manager | n+30 |
You must change the port assignments specified in the shortcuts for the Administrative WebStation and Host Emulator.
Your application may not have access to the vhi/etc/vhibaseport.properties file. If this is the case you can change the TCP port assignments using a system property from the command line or within your Java application. For example: -Dvhibaseport=n .
To change the Tomcat port on a Windows machine for the Administrative WebStation:
\vhi\lib\console\conf.server.xml
<Service name="Catalina">
<Connector port="9642" />
To change the Tomcat port on a Windows machine for the Host Emulator:
\vhi\lib\hostemul\conf.server.xml
<Service name="Catalina">
<Connector port="9652" />
Because port 8081, the default Host Integrator Web Server port, is used by Network Associates' McAfee software (ePolicy Orchestrator "Agent Wake-Up Call" service). To avoid a port conflict, change either VHI or the McAfee product's configuration.
To change the Tomcat port on a Windows machine:
<VHI install folder>\lib\webbuilder\common
directory, open common.properties.servletcontainerport=8081\vhi\tomcat\conf, open server.xml and locate:
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8081 -->
<Connector port="8081"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
debug="0" connectionTimeout="60000"
disableUploadTimeout="true" />
Note: You only need to change the first instance of port="8081" in server.xml. It's not necessary to change the second instance for proxy.
Use Host Emulator Configuration (available from the Start menu) to modify model parameters.
By default, the Design Tool or the Session Server starts searching at port 5005 for an available remote debugging port. You can change the starting point for locating an available port. You must restart the Server for the change to take effect.