可以在本地连接到应用程序,但不能远程连接
Can connect to app locally but not remotely
我正在关注此处的示例应用程序 https://github.com/Azure-Samples/service-fabric-dotnet-data-aggregation
当我构建应用程序并将其部署到我的本地集群并使用 url: http://localhost:8505/index.html 访问它时,它工作正常。
但是,当我将它部署在我在云中设置的服务集群上并尝试使用此 url: http://[some_name].southcentralus.cloudapp.azure.com:8505/index.html 访问同一页面时,它失败了。
我在这里错过了什么?
您是否忘记添加负载均衡器规则?更多信息 here。
章节:
Connections from external clients
我正在关注此处的示例应用程序 https://github.com/Azure-Samples/service-fabric-dotnet-data-aggregation
当我构建应用程序并将其部署到我的本地集群并使用 url: http://localhost:8505/index.html 访问它时,它工作正常。
但是,当我将它部署在我在云中设置的服务集群上并尝试使用此 url: http://[some_name].southcentralus.cloudapp.azure.com:8505/index.html 访问同一页面时,它失败了。
我在这里错过了什么?
您是否忘记添加负载均衡器规则?更多信息 here。 章节:
Connections from external clients