1. Open Command Prompt
2. To get the port number that Central Administration site is currently running on, type
stsadm.exe -o getadminport
3. To change a port number that SharePoint Central Administration site is using, type
stsadm.exe -o setadminport -port