无法连接到azure云服务?

时间:2013-05-15 09:01:16

标签: azure

我创建了一个azure云服务并使用Visual Studio 2012发布到它。云服务由一个worker和web角色组成。我启用了远程桌面,可以看到两者都按预期运行。

我知道worker角色正在运行,因为我可以看到它击中了我的sql azure数据库。

然而,web角色似乎不能连接。使用chrome我收到错误“糟糕!Google Chrome无法连接”。如果我使用Internet Explorer,也会发生同样的情况......

但是,如果我登录到该框,并使用localhost尝试它,这一切都有效吗?我可以访问我的网站。但如果我尝试使用另一台电脑连接到这台服务器,我似乎无法通过“哎呀!Google Chrome无法连接......”

关于我做错了什么的想法?

我的.csdef文件的内容是:

<?xml version="1.0" encoding="utf-8"?>
<ServiceDefinition name="SalahTimesAzureCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2013-03.2.0">
  <WorkerRole name="SalahTimesWorkerRole" vmsize="Small">
    <Imports>
      <Import moduleName="Diagnostics" />
      <Import moduleName="RemoteAccess" />
      <Import moduleName="RemoteForwarder" />
    </Imports>
  </WorkerRole>
  <WebRole name="Igss.SalahTimes.Web" vmsize="Small">
    <Sites>
      <Site name="Web">
        <Bindings>
          <Binding name="Endpoint1" endpointName="Endpoint1" />
        </Bindings>
      </Site>
    </Sites>
    <Endpoints>
      <InputEndpoint name="Endpoint1" protocol="http" port="8080" />
    </Endpoints>
    <Imports>
      <Import moduleName="Diagnostics" />
      <Import moduleName="RemoteAccess" />
    </Imports>
  </WebRole>
</ServiceDefinition>

0 个答案:

没有答案