Modifying the default port numbers


BMC Services are installed with default TCP/IP ports. Because of possible port conflicts in your enterprise, you might need to change one or more TCP/IP port numbers. You make these changes in one or more configuration files depending on the port number being changed.

Default port numbers

The following table lists the default port numbers and the files that you can modify to change the default values. 


    1. This port must be accessible from the TSMA installation when using the MVMM security service
    2. See Running-performance-and-availability-monitoring-extensions for information about changing QPEA, QPMON, and QPCFG port numbers.
    3. If this port number needs to be changed, create or edit the eaapi.ini file in a text editor and modify or insert the following stanza:
      [networksettings]
      agent_listen_port=port number
    4. Port 389 is used to contact Active Directory Domain Controllers when configured for Active Directory Delegate mode security and when using SASL. Port 636 is used to contact Active Directory Domain Controllers when configured for Active Directory Delegate mode security and when using SSL. These ports are not reconfigurable due to Microsoft requirements.


To modify the default port numbers in eaa.xml

You should use the agentpref CLI to modify agent and extention preferences. See Managing-the-Agent-and-Extension-preferences-using-agentpref for details.

To modify the default port numbers in services.cfg

  1. Stop the BMC services. See Starting and stopping services.
  2. Using the table in this topic, locate the files you need to modify.
  3. Open each file in turn in a text editor with search and replace capability.
  4. Search and replace all instances of the old port number with the new port number.
  5. Save the file.
  6. Repeat for all other files containing the port number being changed.
Example

Suppose that port 15007 is in conflict and you want to change it to 15010.
The table inFiles referencing port numbers shows that you need to change the port number 15007 to 15010 in files services.cfg and qpas.xml.
1. Open services.cfg in a text editor with search and replace capability.
2. Search for all instances of 15007 and replace each with 15010.
3. Save services.cfg.
4. Restart BMC Services. See Starting and stopping services.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*