During the installation of SAP HANA Cockpit, the installation assigns free ports to SAP HANA Cockpit and SAP HANA Cockpit Manager.
In this case, we can assign fixed ports to the SAP HANA Cockpit via below steps ;
Solution ;
1 – ) Create an empty directory on the installation host.
2 – ) Download the file HANACOCKPIT.mtaext to the directory.
3 – ) Adjust the port in the file.
4 – ) Call the SAP HANA Cockpit installer with the option –xs_components_cfg=<path to the directory, containing the extension descriptor>.
You can download the related file from the following SNOTE ;
https://launchpad.support.sap.com/#/notes/2389709