This video KB demonstrates multiple ways to determine the ports on which PowerCenter application services, say Integration Service and Repository Service, open on the server machine.
How to automate the repository and domain back up process for disaster recovery in PowerCenter
How to find in which host the Repository Integration service is running in a multi node domain
Converting and adding of a self signed certificate to use a Webservice Consumer transformation