I’m playing with Microsoft Azure Service Fabric, but I'm having some problems reaching the services from internet.
My situation:
- I Created the Service Fabric cluster:
- Windows Server 2016 Datacenter.
- Node type count: 1.
- Custom Endpoint: empty.
- “Enable reverse proxy” flagged.
- All my services are developed base on .NET Core 2.1, REST API.
Using a web browser, all the services work fine locally (with Service Fabric Local Cluster and Azure Storage Emulator or Azure Storage). Then I published the application to the Azure cluster but I can not reach any of the service from internet.
Question
How can I setup the environment so to reach the services from internet?
I read some docs:
- https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-connect-and-communicate-with-services
- https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reverseproxy
One of the service in the ServiceMnifest.xml file has the following configuration:
<Endpoint Protocol="http" Name="ServiceEndpoint" Type="Input" Port="8939" />
So, I added the following configurations in the load balancer:
- Health probes: added a configuration for the 8939 port.
- Load balancing rules: added a configuration for an 8939 => 8939 TCP passthrough using the previous health probes configuration.
But when I try to reach it from browser I get a timeout.
Any suggestion is appreciated.
Regards,
Attilio
http://[FQDN]:[ReversPoxyPort]/[ApplicationName]/[ServiceName]/[Controller]
? – SteppingRazor