Binding OpUtils to use a Single IP Address

Summary

Assume that you have installed OpUtils on a computer that has dual IP addresses and you want to make OpUtils use a specific IP address for all communications. This article will help you achieve this.

Description

Follow the steps below to bind all communications to a specific IP address:

  • Stop the OpUtils Service
  • Goto <OpUtils install dir>\ProgramFiles\Adventnet\ME\conf and open the Server.xml file in an editor
  • Edit the connector node with correct IP Address as given below:

    Before editing:

    <Connector acceptCount="100" connectionTimeout="20000" debug="0" disableUploadTimeout="true" enableLookups="false" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" port="7080" redirectPort="8443"></Connector>
    <Connector acceptCount="100" clientAuth="false" connectionTimeout="-1" debug="0" disableUploadTimeout="true" enableLookups="false" keystoreFile="./conf/server.keystore" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" name="SSL" port="7443" scheme="https" secure="true" sslProtocol="TLS"></Connector>

    After editing:

    <Connector acceptCount="100" address="192.168.110.132" connectionTimeout="20000" debug="0" disableUploadTimeout="true" enableLookups="false" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" port="80" redirectPort="8443"></Connector>
    <Connector acceptCount="100" address="192.168.110.132" clientAuth="false" connectionTimeout="-1" debug="0" disableUploadTimeout="true" enableLookups="false" keystoreFile="./conf/server.keystore" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" name="SSL" port="7443" scheme="https" secure="true" sslProtocol="TLS"></Connector>

    The IP address shown above is just an example; you should include the appropriate IP Address here.

  • Save the server.xml and start OpUtils