API communication ports

Hi. 52311 is the default port for client communication and the API.
I want the API to have a different port. How do I do this?

If I contact a relay will it process API requests?

thanks

Which API are you referring to ?

maybe I am misunderstanding here…The BigFix API (IBM EndPoint Manager rebranded). What other APIs are employed?

The REST API for the platform can be configured to use a different port see:

https://www-01.ibm.com/support/knowledgecenter/#!/SS63NW_9.2.0/com.ibm.tivoli.tem.doc_9.2/Platform/Config/c_restapi_https_registry_set.html

Relays do not process REST API requests you must address the root server

Hi geroid. Thank you for the link and the factoid on the relay processing of requests.

Those instructions did not work as expected.
Whenever the besserver is restarted /var/opt/BESClient/besclient.config file is reset and the settings disappear. Also tried doing so via the admin console without luck.

maybe try setting in the servers config file instead of the client

You can only manually update a config file when the named service is stopped. This is why the page says to use the console to set the settings and not manually edit the file which it sounds like what you did

1 Like

Thanks Alan. I eventually figured it out the having to stop the server thing. That documentation needs updating.

I did end up using the EndPointManager console to implement the change.
What I did find:

  1. The config files do not reflect the change.
  2. Changing the REST API port also changes via the documentation changes the AP port AND the port BigFix receives information from its clients on.

so I am still at square one with this.

Am I doing something wrong or are those instructions correct…has anyone used them to change the port of the REST API only?