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. 

Default port

Service

Files necessary to modify port

15001*

TMTM Topic Service

  • services.cfg
  • eaa.xml

15002

TMTM History Service

services.cfg

15003

TMTM Event Service

services.cfg

15004

TMTM Application Service Web secure port

services.cfg

15005

TMTM Application Service Client port

services.cfg

15006*

TMTM Client Gateway Service

services.cfg

15007

TMTM Application Service Web port

services.cfg

15008*

TMTM Application Service LDAP port

services.cfg

15009

TMTM Tunnel Service Client Proxy port

services.cfg

15010

TMTM Tunnel Service port

services.cfg

15011 a TMTM Application Service LDAPS portservices.cfg

6001*b

QPMON

eaa.xml

6002*

QPCFG

eaa.xml

2612c

QPEA

eaapi.ini

389, 636d

Active Directory LDAP ports

 Not configurable

    1. This port must be accessible from the TSMA installation when using the TMTM 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.
Was this page helpful? Yes No Submitting... Thank you

Comments