Raghu
Raghu

Reputation: 3079

Error connecting to service hosted in service fabric cluser in azure from my browser

  1. Authored web api service hosted in service fabric.
  2. Navigated successfully to the service endpoint (on my machine) with following url: http://localhost:2500/days/v1.0/ (i.e. I can see the response).
  3. Next created a UNSECURED service fabric cluster in the azure.
  4. Published my local fabric app to azure through visual studio.
  5. Successfully navigated to fabric explorer in the azure with url: http://xyz1234fake.westus.cloudapp.azure.com:19080/Explorer
  6. When looked at my service instance in explorer, it shows the url as http://10.0.0.5:2500/days/v1.0/
  7. In the browser, replaced the above local azure ip address with azure service cluster. For example: changed the url from http://10.0.0.5:2500/days/v1.0/ to http://xyz1234fake.westus.cloudapp.azure.com:2500/days/v1.0/
  8. Was not able to navigate to above url.

What am I doing wrong? Where should I look for troubleshooting?

Upvotes: 1

Views: 260

Answers (2)

Haukman
Haukman

Reputation: 3776

19000 and 19080 are reserved for communication to the cluster itself (19080 for the Explorer). You need to set up a new load balancer rule/probe for your application. You can do this in the Azure Portal under "Load Balancer".

Upvotes: 0

Ryan Durham
Ryan Durham

Reputation: 331

You need to open that port on the cluster. 19080 is open by default for non SSL connections, so if you just switch to that it'd work. Be careful not to use a port reserved for your services.

This is similar

Upvotes: 0

Related Questions