Mangesh Kulkarni
Mangesh Kulkarni

Reputation: 311

How to call web api controller deployed in Service Fabric Cluster?

We have deployed two APIs on Service Fabric cluster

We are able to access the apis locally using following URL:

Service fabric cluster explorer is accessible using following URL

https://{MyLoadBalancerName}.northeurope.cloudapp.azure.com:19080/Explorer

But, I am not able to access the API 1 by using following URL

https://{MyLoadBalancerName}.northeurope.cloudapp.azure.com:8485/api/controller

I tried adding following Load balancing Rule

But no luck! Can somebody please explain how to call api controller?

Upvotes: 1

Views: 1919

Answers (2)

Arunraja A
Arunraja A

Reputation: 184

Ensure that the above ports have access in NSG

enter image description here

Upvotes: 1

Satya Tanwar
Satya Tanwar

Reputation: 1118

you need to add those ports in list of opened port when you creating cluster on azure. you can also add them after you created that cluster. check the link from documentation. https://learn.microsoft.com/en-us/azure/service-fabric/create-load-balancer-rule

Upvotes: 1

Related Questions