[英]Azure Cloud Service Not Loading in Deployment
I have an ASP.NET app that I am trying to deploy to Azure Cloud. 我有一个ASP.NET应用程序,正在尝试将其部署到Azure云。 It works locally but not when I deploy it.
它在本地工作,但在我部署时不行。 Below is my Service Definition file.
以下是我的服务定义文件。 The certificate "cuteanimals" is self assigned and I have already added it in Azure.
证书“ cuteanimals”是自分配的,我已经在Azure中添加了它。 The URL is http://cuteanimals.cloudapp.net/
网址为http://cuteanimals.cloudapp.net/
<?xml version="1.0" encoding="utf-8"?>
<ServiceDefinition name="ImageSharingWithCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2013-03.2.0">
<WebRole name="WebRole" vmsize="Small">
<Sites>
<Site name="Web">
<Bindings>
<Binding name="Endpoint1" endpointName="EndpointHTTPS" />
</Bindings>
</Site>
</Sites>
<Endpoints>
<InputEndpoint name="EndpointHTTPS" protocol="https" port="443" certificate="cuteanimals" />
</Endpoints>
<Imports>
<Import moduleName="Diagnostics" />
<Import moduleName="RemoteAccess" />
</Imports>
<Certificates>
<Certificate name="cuteanimals" storeLocation="LocalMachine" storeName="My" />
</Certificates>
</WebRole>
<WorkerRole name="ImageValidation" vmsize="Small">
<Imports>
<Import moduleName="Diagnostics" />
<Import moduleName="RemoteAccess" />
<Import moduleName="RemoteForwarder" />
</Imports>
<ConfigurationSettings>
<Setting name="Microsoft.ServiceBus.ConnectionString" />
</ConfigurationSettings>
<Certificates>
</Certificates>
</WorkerRole>
</ServiceDefinition>
Thank you. 谢谢。
You have only opened https endpoint on your website. 您仅在网站上打开了https端点。 I've navigated to https://cuteanimals.cloudapp.net/ and it looks OK
我导航到https://cuteanimals.cloudapp.net/ ,看起来不错
You will want to add another endpoint for port 80 您将要为端口80添加另一个端点
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.