Azure endpoints have to be implemented on VMs to let external traffic reach a VM inside a virtual network.
Such endpoints have public and private ports, which can be the same apparently.
What is the exact purpose of the public port? Is there any other purpose than simply hiding the private port of an application (say 1433 for SQL server for example)?