After following the tutorial , I've succeeded running it on localhost:8534/simpleprime/api/values/
* having the same result as the tut.
Later publishing the solution to a remote cloud cluster, I couldn't access it using www.clusterurl:8534/api/values
, timing out each time. Even though I got reassuring event diagnostics from Visual Studio during the deploy.
I've also tried each of the nodes seperetly, going to http://node_ip:8543/simpleprime/api/values
, without any luck
If you want to access your service with OWIN listener on Azure, you should define ports that will be used by your application for the LoadBalancer during cluster creation.
If you for some reason forgot you can do it later by:
SERVICE PART
Define your endpoint directly (so SF will use your definied port number) (in my example 8081)
Re-publish application to Azure.
AZURE PART
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.