The http_server.http_port and server.https_port settings specify the port number that OWCIMOMD listens on for all HTTP and HTTPS communications.
http_server.http_port = option
or
http_server.https_port = option
These settings disable the HTTP port and enable port 5989 for HTTPS communications:
http_server.http_port = -1
http_server.https_port = 5989