Snippet from Splunk docs about changing server.conf file: https://docs.splunk.com/Documentation/Splunk/9.0.0/admin/Serverconf disableDefaultPort = <boolean>
* If set to "true", turns off listening on the splunkd management port,
which is 8089 by default.
* On Universal Forwarders, when this value is "true" the value set
for mgmtHostPort in web.conf will be ignored. Similarly, when set to "false",
the value set for mgmtHostPort in web.conf will be used for binding management port.
* NOTE: On Universal Forwarders, to reduce the risk of exploitation Splunk recommends
the management port is disabled and local CLI is not used. If the management port is enabled,
a valid TLS certification should be installed and the port should be bound to localhost.
* NOTE: Changing this setting is not recommended on other Splunk instances.
* This is the general communication path to splunkd. If it is disabled,
there is no way to communicate with a running splunk instance.
* This means many command line splunk invocations cannot function,
Splunk Web cannot function, the REST interface cannot function, etc.
* If you choose to disable the port anyway, understand that you are
selecting reduced Splunk functionality.
* Default: false
... View more