In the endpoint configuration for a service in ServiceManifest.xml file, visual studio typically creates following information:
<Resources>
<Endpoints>
<Endpoint Protocol="http" Name="ServiceEndpointHttp" Type="Input" Port="8304" />
</Endpoints>
</Resources>
If I remove Port attribute and its value (as shown below),
<Resources>
<Endpoints>
<Endpoint Protocol="http" Name="ServiceEndpointHttp" Type="Input" />
</Endpoints>
</Resources>
the service fabric run time will assign a dynamic port to this service.
Since all ports are automatically blocked by the related load balancer, how do I configure the load balancer so that service can be accessed from outside?