# Issues with an Azure install (need to configure inbound ports)

**URL:** <https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614>\
**Category:** Support\
**Created:** [2016年十月16日 21:14 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614 "2016-10-16T21:14:28Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![daveisbludging](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daveisbludging/32/121480_2.png) [@daveisbludging](https://meta.discourse.org/u/daveisbludging)\
**Post date:** [2016年十月16日 21:14 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/1 "2016-10-16T21:14:28Z")

</div>

I’ve just installed Discourse onto an Azure Ubuntu server using the 30 minute install guide.

When it finished the web site hadn’t started. I than ran ./launcher start and got the error:

Config file was not found, ensure containers/.yml exists

Available configs ( app )

I ran ./launcher rebuild app and then ran than ran ./launcher start and got the same error:

Config file was not found, ensure containers/.yml exists

Available configs ( app )

---

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [2016年十月16日 21:15 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/2 "2016-10-16T21:15:24Z")

</div>

I think you want to run `./launcher start app` (though running `./launcher rebuild app` should have started the app)

---

<div class="post-metadata">

**Author:** ![daveisbludging](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daveisbludging/32/121480_2.png) [@daveisbludging](https://meta.discourse.org/u/daveisbludging)\
**Post date:** [2016年十月17日 20:19 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/3 "2016-10-17T20:19:33Z")

</div>

> [@cpradio](#):
>
> ./launcher start app

/var/discourse# ./launcher start app  
f50c3196399d  
Nothing to do, your container has already started!

When I connect to the IP address or URL I get a ERR\_CONNECTION\_TIMED\_OUT.

How do I troubleshoot this further from here?

---

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [2016年十月17日 20:26 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/4 "2016-10-17T20:26:23Z")

</div>

I would start rummaging through /var/discourse/shared/standalone/log to see if anything seems related and post that here

---

<div class="post-metadata">

**Author:** ![LiveLikeLastDay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/livelikelastday/32/81400_2.png) [@LiveLikeLastDay](https://meta.discourse.org/u/LiveLikeLastDay)\
**Post date:** [2017年二月20日 03:21 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/5 "2017-02-20T03:21:50Z")

</div>

I get same error as you.

Is this fixed?

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2017年二月20日 13:18 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/7 "2017-02-20T13:18:50Z")

</div>

I do several installs each week; it is not clear what the problem here might be, but it’s almost certainly not one that is on the Discourse side of things. This problem is likely something like getting the IP number wrong or a firewall setting.

---

<div class="post-metadata">

**Author:** ![LiveLikeLastDay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/livelikelastday/32/81400_2.png) [@LiveLikeLastDay](https://meta.discourse.org/u/LiveLikeLastDay)\
**Post date:** [2017年二月20日 22:35 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/8 "2017-02-20T22:35:45Z")

</div>

Hi Jay,

I’ve just installed Discourse onto an Azure Ubuntu server 16 using the 30 minute install guide.

What log file should I upload?

```
root@ProdServer:/var/discourse/shared/standalone/log/var-log# ls
apt auth.log dpkg.log kern.log nginx syslog unattended-upgrades

```

By the way, I also installed Discourse onto my local Ubuntu Desktop 16 using the 30 minute install guide. No issue found.

Is this because of Azure/Ubuntu Server network setting?

Thanks.  
Felix

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2017年二月20日 22:46 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/9 "2017-02-20T22:46:44Z")

</div>

Sounds like Ubuntu works and azure doesn’t to me. Not a wall I want to bang my head on.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年二月20日 22:52 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/10 "2017-02-20T22:52:09Z")

</div>

Jay I can pay you to do a $99 install test on Azure / Ubuntu Server just to see if it works. No need to bother setting up email, just see if it installs and loads?

Because I am curious. It should work.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2017年二月20日 22:55 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/11 "2017-02-20T22:55:59Z")

</div>

Trying to get me to bang my head? ☺

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年二月20日 22:57 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/12 "2017-02-20T22:57:12Z")

</div>

It really should work. And only $99 of head banging, no email needed. 🤘

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2017年二月21日 14:14 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/13 "2017-02-21T14:14:38Z")

</div>

OK, here’s the report:

I created a DS1\_V2 (~$55/month) virtual machine running Ubuntu 16.04 LTS. I did

```
wget -qO- https://get.docker.com/ | sh
apt -y upgrade
./discourse-setup

```

It worked just fine.

> [@daveisbludging](#):
>
> When I connect to the IP address or URL I get a ERR\_CONNECTION\_TIMED\_OUT.

Oh. You see? I knew there would be head banging. Turns out, not being able to access your machine is a feature, not a bug. You need to open the ports, like [this](https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-windows-nsg-quickstart-portal).

Once I managed to convince Azure to open port 80 so that one could access it via a web browser, I enabled Let’s Encrypt and rebuilt. That worked too. (And to make sure that there was no outbound filtering, I sent an activation message with Mailgun. No shenanigans were required.).

[https://azure.ltcmp.net/](https://azure.ltcmp.net/)

---

<div class="post-metadata">

**Author:** ![LiveLikeLastDay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/livelikelastday/32/81400_2.png) [@LiveLikeLastDay](https://meta.discourse.org/u/LiveLikeLastDay)\
**Post date:** [2017年二月21日 22:19 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/14 "2017-02-21T22:19:04Z")

</div>

> [@pfaffman](#):
>
> convince Azure to open port 80

Thanks for Jay’s test on Azure.

I followed the setps below to open port 80 and it’s working now 🎉

 ![](https://global.discourse-cdn.com/meta/original/3X/d/2/d26f4fa31d4930e831df8e85b5bf760d6fc72410.png)

---

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [2017年二月22日 02:07 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/15 "2017-02-22T02:07:34Z")

</div>

@pfaffman and @LiveLikeLastDay good work getting it running on azure. 🙂

I’ve installed discourse several times on azure and it works great. Just wanted to say that yes they can have [expensive Linux VM hosting](https://azure.microsoft.com/en-us/pricing/details/virtual-machines/linux/) (A1 v2 2GB is $26.79+/month) compared to digital ocean, but if you apply for their [BizSpark program](https://bizspark.microsoft.com/) you can get 2-3 years worth of $150/month in Azure credits 💸 so it might actually be the cheapest hosting solution.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2017年二月22日 17:33 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/16 "2017-02-22T17:33:32Z")

</div>

OMG. I tried to log in today to turn off the instance that I started. There is no link (that I could find) on [https://azure.microsoft.com/](https://azure.microsoft.com/) to actually log in to an account (pro tip: it’s not the “my account” link). Then I found my way to [https://manage.windowsazure.com/](https://manage.windowsazure.com/) which is also not how to find the instance I started up yesterday; maybe that’s just VMs that run Windows? Finally, I found [https://portal.azure.com/](https://portal.azure.com/) and was able to shut down the VM I cranked up yesterday.

> [@blake](#):
>
> if you apply for their BizSpark program you can get 2-3 years worth of $150/month in Azure credits

My gut reaction is that they’d need to send me a check for $150/month for me to learn to use their services, but that’s probably unfair.

---

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [2017年二月22日 17:46 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/17 "2017-02-22T17:46:36Z")

</div>

Make sure you deleted everything in the resource group that was created when you made the vm. If you just delete the vm it might have left behind things like VHD’s and storage accounts.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2017年二月22日 18:24 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/18 "2017-02-22T18:24:47Z")

</div>

Thanks. That was relatively easy. Some of the complexity of Azure is a necessary side-effect of it’s flexibility. That doesn’t make it any easier for people figure out, though.

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2022年八月29日 04:21 UTC](https://meta.discourse.org/t/issues-with-an-azure-install-need-to-configure-inbound-ports/51614/21 "2022-08-29T04:21:30Z")

</div>


