Unable to connect to azure cloud service?

Ilyas Source

I have created an azure cloud service and published to it using Visual studio 2012. The cloud service consists of a worker and web role. I have enabled remote desktop and can see that both are running as expected.

I know the worker role is running because I can see its hitting my sql azure database.

However the web role doesn't seem to me able connect. Using chrome I get the error "Oops! Google Chrome could not connect". Same happens if I use Internet Explorer....

However If I log on to the box, and tried it using localhost, it all works? I can access my site. But if I attempt to connect to this server using another pc, I cant seem to get passed "Oops! Google Chrome could not connect..."

Any ideas on what I have done wrong?

Contents of my .csdef file are:

<?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">
      <Import moduleName="Diagnostics" />
      <Import moduleName="RemoteAccess" />
      <Import moduleName="RemoteForwarder" />
  <WebRole name="Igss.SalahTimes.Web" vmsize="Small">
      <Site name="Web">
          <Binding name="Endpoint1" endpointName="Endpoint1" />
      <InputEndpoint name="Endpoint1" protocol="http" port="8080" />
      <Import moduleName="Diagnostics" />
      <Import moduleName="RemoteAccess" />


comments powered by Disqus