An HMI uses different ports to expose its services.From project transfer by JMobile Studio, to OPC UA or VPN access via Corvina, any service uses a specific port in the HMI.
For a complete list of ports used refer to JMobile Online User Manual